From 2681a0a13c7f119f7ad9c0e9f9ead53b2f42cd18 Mon Sep 17 00:00:00 2001 From: adv Date: Mon, 14 Jan 2013 10:44:00 +0000 Subject: [PATCH] =?UTF-8?q?#547=20ogLive=20configura=20correctamente=20dns?= =?UTF-8?q?.=20Usar=20par=C3=A1metro=20kernel=20ogdns.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/branches/version1.0@3480 a21b9725-9963-47de-94b9-378ad31fedc9 --- includes/etc/initramfs-tools/scripts/ogfunctions | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/includes/etc/initramfs-tools/scripts/ogfunctions b/includes/etc/initramfs-tools/scripts/ogfunctions index 0fd4dda..72f0821 100644 --- a/includes/etc/initramfs-tools/scripts/ogfunctions +++ b/includes/etc/initramfs-tools/scripts/ogfunctions @@ -156,10 +156,15 @@ ogPostConfigureFS() echo "order hosts,bind" > /etc/host.conf echo "multi on" >> /etc/host.conf - #configuramos el dns - #echo "nameserver $ogdns" > /etc/resolv.conf - echo "nameserver $ogdns" > /etc/resolvconf/resolv.conf.d/tail + #configuramos el dns anterior ubuntu 12.04 + #####echo "nameserver $ogdns" > /etc/resolv.conf + #configuramos el dns posterior ubuntu 12.04 + #####echo "nameserver $ogdns" > /etc/resolvconf/resolv.conf.d/tail + mkdir -p /run/resolvconf + touch /run/resolvconf/resolv.conf + echo "nameserver $ogdns" > /run/resolvconf/resolv.conf + # configuramos el /etc/networks #read -e NETIP NETDEFAULT <<<$(route -n | grep eth0 | awk -F" " '{print $1}')