mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
ConsoleKit: close SSH conections on shutdown and reboot
This commit is contained in:
@@ -24,4 +24,5 @@ LOCKDIR="/var/lock/"
|
||||
LOCKFILE="xbmc.disabled"
|
||||
touch "$LOCKDIR/$LOCKFILE"
|
||||
wait_on_xbmc_exit
|
||||
killall sshd
|
||||
reboot
|
||||
|
||||
@@ -24,4 +24,5 @@ LOCKDIR="/var/lock/"
|
||||
LOCKFILE="xbmc.disabled"
|
||||
touch "$LOCKDIR/$LOCKFILE"
|
||||
wait_on_xbmc_exit
|
||||
killall sshd
|
||||
poweroff
|
||||
|
||||
Reference in New Issue
Block a user