[SCM] live-config branch, debian-next, updated. debian/3.0_a13-1-2-gb52b2fc
Richard Nelson
unixabg at gmail.com
Sat Dec 4 05:47:21 UTC 2010
The following commit has been merged in the debian-next branch:
commit b52b2fc962b33b562041b6e30f967eb1c92f60c7
Author: Richard Nelson <unixabg at gmail.com>
Date: Fri Dec 3 23:39:26 2010 -0600
To use network based hooks with live-config.hooks=, also call ethdevice= with the device you want to use for network access and we will force it up.
diff --git a/scripts/config.sh b/scripts/config.sh
index ef91947..03783b1 100755
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -200,6 +200,12 @@ Start_network ()
/etc/init.d/ifupdown start > /dev/null 2>&1
/etc/init.d/networking start > /dev/null 2>&1
+ # Now force adapter up if specified with ethdevice= on cmdline
+ if [ ! -z "${ETHDEVICE}" ]
+ then
+ ifup --force "${ETHDEVICE}"
+ fi
+
_NETWORK="true"
export _NETWORK
fi
--
live-config
More information about the debian-live-changes
mailing list