mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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
|
||||
################################################################################
|
||||
|
||||
if [ "$(pidof xbmc.bin)" -a -f /usr/bin/xbmc-send ]; then
|
||||
# shutdown via xbmc
|
||||
xbmc-send --host=127.0.0.1 -a "Powerdown"
|
||||
else
|
||||
# shudown normally
|
||||
/bin/sync
|
||||
/sbin/poweroff
|
||||
fi
|
||||
# shudown normally
|
||||
/bin/sync
|
||||
/sbin/poweroff
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user