d0b33
Honorary Master
This is the current script I use to shutdown my PC using MythTV...
But ever since I moved to 64bit whenever I have a lan connection active the PC won't shutdown, only if I unplug the lan cable will it shut down.
Is it possible to add a command that disables lan before shutdown to this script?
>Ubuntu Intrepid 64bit
Code:
#!/bin/sh
# This script uses dbus to tell HAL to shut down your computer
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown
But ever since I moved to 64bit whenever I have a lan connection active the PC won't shutdown, only if I unplug the lan cable will it shut down.
Is it possible to add a command that disables lan before shutdown to this script?
>Ubuntu Intrepid 64bit
Last edited: