mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
ConsoleKit: close SSH conections on shutdown and reboot
This commit is contained in:
parent
4155616076
commit
54ee765936
@ -24,4 +24,5 @@ LOCKDIR="/var/lock/"
|
|||||||
LOCKFILE="xbmc.disabled"
|
LOCKFILE="xbmc.disabled"
|
||||||
touch "$LOCKDIR/$LOCKFILE"
|
touch "$LOCKDIR/$LOCKFILE"
|
||||||
wait_on_xbmc_exit
|
wait_on_xbmc_exit
|
||||||
|
killall sshd
|
||||||
reboot
|
reboot
|
||||||
|
@ -24,4 +24,5 @@ LOCKDIR="/var/lock/"
|
|||||||
LOCKFILE="xbmc.disabled"
|
LOCKFILE="xbmc.disabled"
|
||||||
touch "$LOCKDIR/$LOCKFILE"
|
touch "$LOCKDIR/$LOCKFILE"
|
||||||
wait_on_xbmc_exit
|
wait_on_xbmc_exit
|
||||||
|
killall sshd
|
||||||
poweroff
|
poweroff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user