From 9760a73c7d2c69668b76514e42db34c1b12f7a36 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 19 Sep 2010 23:35:40 +0200 Subject: [PATCH] acpi: remove xbmc-send command Signed-off-by: Stephan Raue --- packages/sysutils/acpid/scripts/powerdown.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/sysutils/acpid/scripts/powerdown.sh b/packages/sysutils/acpid/scripts/powerdown.sh index afff274354..d2b6c38a00 100755 --- a/packages/sysutils/acpid/scripts/powerdown.sh +++ b/packages/sysutils/acpid/scripts/powerdown.sh @@ -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 +