summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-06-01 19:47:28 +0200
committerDirk von Suchodoletz2007-06-01 19:47:28 +0200
commitfb186c83b4ecabe32c67729a74655bb50855abd3 (patch)
tree464f3b1175f71b6ba345627d292a066a39c51ec7 /initramfs/initrd-stuff/init
parentCleanup for new style of virtual machine handling (runvware v2, see (diff)
downloadcore-fb186c83b4ecabe32c67729a74655bb50855abd3.tar.gz
core-fb186c83b4ecabe32c67729a74655bb50855abd3.tar.xz
core-fb186c83b4ecabe32c67729a74655bb50855abd3.zip
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
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init3
1 files changed, 2 insertions, 1 deletions
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