/etc/init.d/knoppix-halt

In Knoppix 6.0 und 6.2 hatte ich das Problem, daß ein Diskless Knoppix, welches überss Netz von einem “Knoppix Terminalserver” gestartet wurde, nicht ordentlich ‘runterfahren konnte. Um das zu reparieren, habe ich in /etc/init.d/knoppix-halt folgende Änderungen vorgenommen:

# MH don’t shut down network
#ifdown -a >/dev/null 2>&1

# Free modules
while read module relax; do
case “$module” in
*eeepc*|*_laptop*) true ;; # Unloading eeepc_laptop disables WLAN in the BIOS. Why?
# MH kein rmmod!
# *) rmmod “$module” ;;
esac
done /dev/null 2>&1

# MH: -d hinzugefügt
case “$0” in *halt|*poweroff) poweroff -d -f ;;
*) reboot -d -f ;;
esac

One Response to “/etc/init.d/knoppix-halt”

  1. foo Says:

    toll!

Leave a Reply