Comment 1 for bug 35182

Revision history for this message
Richard Hughes (richard-hughes) wrote :

At the moment, hal-system-power-shutdown has this:

#Try for common tools
if [ -x "/sbin/shutdown" ] ; then
        /sbin/shutdown -h now
        exit $?
elif [ -x "/usr/sbin/shutdown" ] ; then
        /usr/sbin/shutdown -h now
        exit $?
else
        unsupported
fi

so that it works on all distros. On Ubuntu, how do you shutdown on the command line so that usplash activates? It's easy to add to upstream hal if you give me the command.

Richard.