--- network.sh.org 2006-08-19 23:42:34.000000000 +0200 +++ network.sh 2006-08-30 14:18:27.000000000 +0200 @@ -7,16 +7,6 @@ done } -# Attach modules directory: -( cd /lib - if [ -d modules ]; then - mv modules modules.olddir - elif [ -L modules ]; then - rm -f modules - fi - ln -sf /network/lib/modules . -) - echo echo "******* Welcome to the network supplemental disk! *******" echo @@ -44,7 +34,7 @@ if [ "`echo $INPUT | crunch | cut -f 1 -d ' '`" = "L" \ -o "`echo $INPUT | crunch | cut -f 1 -d ' '`" = "l" ]; then echo "Available network modules:" - for file in /network/lib/modules/`uname -r`/kernel/drivers/net/* /network/lib/modules/`uname -r`/kernel/arch/i386/kernel/* /network/lib/modules/`uname -r`/kernel/drivers/pnp/* ; do + for file in /lib/modules/`uname -r`/kernel/drivers/net/* /lib/modules/`uname -r`/kernel/arch/i386/kernel/* /lib/modules/`uname -r`/kernel/drivers/pnp/* ; do if [ -r $file ]; then OUTPUT=`basename $file .gz` OUTPUT=`basename $OUTPUT .o` @@ -163,19 +153,3 @@ # end main loop break done - -echo "Preparing to disconnect the network supplemental disk. Press" -echo "[enter] to unmount the disk." -echo - -# Restore old modules: -if [ -L /lib/modules ]; then - rm -f /lib/modules -fi -if [ -d /lib/modules.olddir ]; then - mv /lib/modules.olddir /lib/modules -fi - -echo -n "network> " -read INPUT; -