From 04be2f426ff89a1306fb2c8160c142b4c910efc4 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 4 Jun 2014 19:12:21 +0200 Subject: [PATCH] package/xbmc: use poweroff to poweroff the RPi Using "poweroff" instead of "halt" has the side advantage of flashing the "ACT" LED 10 times (@ ~1Hz) to instruct the user when it is safe to unplug the power supply. Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/xbmc/br-xbmc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xbmc/br-xbmc b/package/xbmc/br-xbmc index 922b5111b9..fee5d51dd5 100755 --- a/package/xbmc/br-xbmc +++ b/package/xbmc/br-xbmc @@ -26,8 +26,8 @@ while [ ${LOOP} -eq 1 ]; do ret=$? case "${ret}" in 0) ;; - 64) halt; LOOP=0;; - 66) reboot; LOOP=0;; + 64) poweroff; LOOP=0;; + 66) reboot; LOOP=0;; *) # Crash sleep 1 ;; -- 2.30.2