diff options
Diffstat (limited to 'initrd/initrd-stuff/etc')
| -rw-r--r-- | initrd/initrd-stuff/etc/functions | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
