mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
acpi: remove xbmc-send command
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
dc274601f3
commit
9760a73c7d
@ -20,12 +20,8 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
if [ "$(pidof xbmc.bin)" -a -f /usr/bin/xbmc-send ]; then
|
# shudown normally
|
||||||
# shutdown via xbmc
|
/bin/sync
|
||||||
xbmc-send --host=127.0.0.1 -a "Powerdown"
|
/sbin/poweroff
|
||||||
else
|
|
||||||
# shudown normally
|
|
||||||
/bin/sync
|
|
||||||
/sbin/poweroff
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user