mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/initscripts: fixed rc.shutdown
This commit is contained in:
parent
d36014eee6
commit
54af802418
2 changed files with 5 additions and 2 deletions
|
@ -5,8 +5,11 @@
|
|||
# rc.conf is different
|
||||
# rc.sysinit has our copyright info
|
||||
|
||||
# 2011.03-1: Kevin Mihelich <kevin@plugapps.com>
|
||||
# - fixed LED turn-off, missing ;
|
||||
|
||||
pkgname=initscripts
|
||||
pkgver=2011.01
|
||||
pkgver=2011.03
|
||||
pkgrel=1
|
||||
plugrel=1
|
||||
pkgdesc="System initialization/bootup scripts"
|
||||
|
|
|
@ -153,7 +153,7 @@ run_hook shutdown_poweroff
|
|||
|
||||
# Turn LEDs off
|
||||
|
||||
/usr/bin/find /sys/ -path *led* -name *trigger* -exec sh -c '/bin/echo none > {}' \
|
||||
/usr/bin/find /sys/ -path *led* -name *trigger* -exec sh -c '/bin/echo none > {}' \;
|
||||
|
||||
# Power off or reboot
|
||||
if [ "$RUNLEVEL" = "0" ]; then
|
||||
|
|
Loading…
Reference in a new issue