summaryrefslogtreecommitdiffstats
path: root/initrd/initrd-stuff/etc/functions
diff options
context:
space:
mode:
authorNico Dietrich2006-01-12 23:04:32 +0100
committerNico Dietrich2006-01-12 23:04:32 +0100
commit75d2cd36dc36ab2dd67fdf443001b29b4478f826 (patch)
treefccaa570f8d68e583a0227c550756f13938baa17 /initrd/initrd-stuff/etc/functions
parentErsteinstellung von ld v4 ins SVN (diff)
downloadcore-75d2cd36dc36ab2dd67fdf443001b29b4478f826.tar.gz
core-75d2cd36dc36ab2dd67fdf443001b29b4478f826.tar.xz
core-75d2cd36dc36ab2dd67fdf443001b29b4478f826.zip
erste anpassungen an ubuntu
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@12 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/etc/functions')
-rw-r--r--initrd/initrd-stuff/etc/functions3
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