Merge pull request #457 from vpeter4/system

ConsoleKit: close SSH conections on shutdown and reboot
This commit is contained in:
Stephan Raue 2012-04-14 07:27:50 -07:00
commit f518952066
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