From 75d2cd36dc36ab2dd67fdf443001b29b4478f826 Mon Sep 17 00:00:00 2001 From: Nico Dietrich Date: Thu, 12 Jan 2006 22:04:32 +0000 Subject: erste anpassungen an ubuntu git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@12 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/etc/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'initrd/initrd-stuff/etc/functions') diff --git a/initrd/initrd-stuff/etc/functions b/initrd/initrd-stuff/etc/functions index 7e189917..feb43937 100644 --- a/initrd/initrd-stuff/etc/functions +++ b/initrd/initrd-stuff/etc/functions @@ -23,7 +23,7 @@ return 0 # load a certain module loadmod() { local modpath=$1 -local module=`echo $modpath|sed -e "s,.*/,,` +local module=`echo $modpath|sed -e "s,.*/,,"` local msg=$2 if [ -f $modpath ] ; then module=${module%.*} @@ -64,6 +64,7 @@ done case $ipcfg in ip) ip link set dev $if up + echo "test" ip addr add $ip/`nm2pref $nm` broadcast $bc dev $if if [ "$gw" != "0.0.0.0" ] ; then ip route add default via $gw -- cgit v1.2.3-55-g7522