From: Yann E. MORIN Date: Wed, 4 Jun 2014 17:12:21 +0000 (+0200) Subject: package/xbmc: use poweroff to poweroff the RPi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04be2f426ff89a1306fb2c8160c142b4c910efc4;p=buildroot.git 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 --- 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 ;;