summaryrefslogtreecommitdiff
path: root/scripts/live
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-26 13:43:05 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:06 +0100
commitc61a099f9f482a9824ea71713e91c8637ef5cc99 (patch)
treebe22c1e181280a0cc2b30aed05f7eea487c46c12 /scripts/live
parentd97cd9e6ed4ccdd3e06ddfd957b6b5b22af21490 (diff)
downloadlive-boot-c61a099f9f482a9824ea71713e91c8637ef5cc99.tar.gz
live-boot-c61a099f9f482a9824ea71713e91c8637ef5cc99.zip
Merging casper 1.168.
Diffstat (limited to 'scripts/live')
-rwxr-xr-xscripts/live4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live
index 9bbf8be..2753d5e 100755
--- a/scripts/live
+++ b/scripts/live
@@ -390,9 +390,9 @@ Arguments ()
mount -o bind /dev /root/dev
mkdir -p /root/var/run/network
- chroot /root dhclient eth0
+ [ "${NETBOOT}" ] || chroot /root dhclient eth0
chroot /root wget -P /tmp "${location}"
- chroot /root ifconfig eth0 down
+ [ "${NETBOOT}" ] || chroot /root ifconfig eth0 down
umount /root/sys
umount /root/proc