From fb186c83b4ecabe32c67729a74655bb50855abd3 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 1 Jun 2007 17:47:28 +0000 Subject: Check if more than one ethernet interface is present ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1138 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'initramfs/initrd-stuff/init') diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index 3ba3fa1e..b91326c1 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -314,7 +314,8 @@ if [ -n "${essid}" ] ; then #echo "Starting shell for testing of WLAN setup procedure" #/bin/ash else - : # check here for the active ethernet link + # check here for the active ethernet link + ip link show dev eth1 >/dev/null 2>&1 && error "$init_2eif" nonfatal fi # set up loopback networking -- cgit v1.2.3-55-g7522