acpi: remove xbmc-send command

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-09-19 23:35:40 +02:00
parent dc274601f3
commit 9760a73c7d

View File

@ -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