mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Revert "Consolekit: implement *safe* shutdown / reboot"
This reverts commit 7a1055769fbe3eae024b61c11b1192104724b425.
This commit is contained in:
parent
25cabb341d
commit
ed09245f29
@ -25,10 +25,4 @@ LOCKFILE="xbmc.disabled"
|
|||||||
touch "$LOCKDIR/$LOCKFILE"
|
touch "$LOCKDIR/$LOCKFILE"
|
||||||
wait_on_xbmc_exit
|
wait_on_xbmc_exit
|
||||||
killall sshd
|
killall sshd
|
||||||
killall5 -15
|
|
||||||
for seq in `seq 1 10` ; do
|
|
||||||
usleep 500000
|
|
||||||
clear > /dev/tty1
|
|
||||||
killall5 -18 || break
|
|
||||||
done
|
|
||||||
reboot
|
reboot
|
||||||
|
@ -25,10 +25,4 @@ LOCKFILE="xbmc.disabled"
|
|||||||
touch "$LOCKDIR/$LOCKFILE"
|
touch "$LOCKDIR/$LOCKFILE"
|
||||||
wait_on_xbmc_exit
|
wait_on_xbmc_exit
|
||||||
killall sshd
|
killall sshd
|
||||||
killall5 -15
|
|
||||||
for seq in `seq 1 10` ; do
|
|
||||||
usleep 500000
|
|
||||||
clear > /dev/tty1
|
|
||||||
killall5 -18 || break
|
|
||||||
done
|
|
||||||
poweroff
|
poweroff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user