[Fai-commit] r4322 - trunk/lib
lange at alioth.debian.org
lange at alioth.debian.org
Tue Jun 12 20:07:33 UTC 2007
Author: lange
Date: 2007-06-12 20:07:33 +0000 (Tue, 12 Jun 2007)
New Revision: 4322
Modified:
trunk/lib/create_resolv_conf
Log:
fix path, since we can now write on the whole filesystem
Modified: trunk/lib/create_resolv_conf
===================================================================
--- trunk/lib/create_resolv_conf 2007-06-12 19:51:45 UTC (rev 4321)
+++ trunk/lib/create_resolv_conf 2007-06-12 20:07:33 UTC (rev 4322)
@@ -8,11 +8,11 @@
# create a resolv.conf using the DHCP or BOOTP information
if [ "$DNSSRVS" ]; then
- [ "$DOMAIN" ] && echo "domain $DOMAIN" >/tmp/etc/resolv.conf
+ [ "$DOMAIN" ] && echo "domain $DOMAIN" >/etc/resolv.conf
for dnshost in $DNSSRVS ; do
- echo "nameserver $dnshost" >>/tmp/etc/resolv.conf
+ echo "nameserver $dnshost" >>/etc/resolv.conf
done
else
# use the resolv.conf from the installserver
- cp -p /etc/resolv.conf-installserver /tmp/etc/resolv.conf
+ cp -p /etc/resolv.conf-installserver /etc/resolv.conf
fi
More information about the Fai-commit
mailing list