summaryrefslogtreecommitdiff
path: root/conf/initramfs.conf
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-04-10 07:04:05 +0200
committermaximilian attems <maks@debian.org>2010-04-10 15:57:30 +0200
commit24875289070511b1039b690e72cf241b5d554688 (patch)
treea1ac55838160425911e632a27cbbb13c2868eb38 /conf/initramfs.conf
parent891b651f29f356e67d77a9a3bb04508dc816756b (diff)
configure_networking(): work with empty DEVICE string
initramfs-tools currently requires a device to be hard-coded, but this is not much use if the network device is not known ahead of time. If the device specified in either /etc/initramfs-tools/initramfs.conf or on the ip=xxx kernel command line. usefull for multiple net devices. Based on patch by Tim Small <tim@seoss.co.uk> Closes: #566295, #575766 Reviewed-by: Vagrant Cascadian <vagrant@freegeek.org> Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'conf/initramfs.conf')
-rw-r--r--conf/initramfs.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/initramfs.conf b/conf/initramfs.conf
index 2aa380f..0a108a8 100644
--- a/conf/initramfs.conf
+++ b/conf/initramfs.conf
@@ -58,10 +58,11 @@ BOOT=local
#
# DEVICE: ...
#
-# Specify the network interface, like eth0
+# Specify a specific network interface, like eth0
+# Overriden by optional ip= bootarg
#
-DEVICE=eth0
+DEVICE=
#
# NFSROOT: [ auto | HOST:MOUNT ]