ConsoleKit: close SSH conections on shutdown and reboot

This commit is contained in:
vpeter4 2012-04-14 16:24:44 +02:00
parent 4155616076
commit 54ee765936
2 changed files with 2 additions and 0 deletions

View File

@ -24,4 +24,5 @@ LOCKDIR="/var/lock/"
LOCKFILE="xbmc.disabled"
touch "$LOCKDIR/$LOCKFILE"
wait_on_xbmc_exit
killall sshd
reboot

View File

@ -24,4 +24,5 @@ LOCKDIR="/var/lock/"
LOCKFILE="xbmc.disabled"
touch "$LOCKDIR/$LOCKFILE"
wait_on_xbmc_exit
killall sshd
poweroff