Changeset 103
- Timestamp:
- 12/20/05 16:57:16 (3 years ago)
- Files:
-
- trunk/client/src_initrd/tree/etc/init.d/modutils (modified) (1 diff)
- trunk/client/src_initrd/tree/etc/init.d/network (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/client/src_initrd/tree/etc/init.d/modutils
r35 r103 22 22 esac 23 23 24 echo -n " $module $args -"25 insmod -s /lib/modules/"$module".ko $args >/dev/null 2>&1 24 echo -n " - $module $args" 25 insmod -s /lib/modules/"$module".ko $args >/dev/null 2>&1 || echo -n "*" 26 26 done 27 27 echo trunk/client/src_initrd/tree/etc/init.d/network
r35 r103 3 3 echo -n "Configuring and Starting Network..." 4 4 5 # Localhost5 # Localhost 6 6 ifconfig lo 127.0.0.1 && echo -n "lo " 7 7 8 8 ETH=eth0 9 10 # If revomac is found try to find the linux interface which corresponds to the 11 # pxe interface 12 if grep -q revomac= /proc/cmdline 13 then 14 REVOMAC=`sed -e 's/.*revomac=\([^ ]*\).*/\1/' </proc/cmdline` 15 for int in 0 1 2 3 4 5 6 7 16 do 17 MAC=`ifconfig eth$int 2>/dev/null|grep HWaddr|sed 's/.*HWaddr //'|sed 's/[ ]//g'|sed 's/[: ]//g'` 18 if [ "$MAC" = "$REVOMAC" ] ;then 19 ETH=eth$int 20 break 21 fi 22 done 23 fi 24 9 25 case "`cat /proc/cmdline`" in 10 26 *revoeth1*)
