mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
DockStar LED poweroff fix
This commit is contained in:
parent
9bf7027cb2
commit
b70d1a55dc
2 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
||||
|
||||
pkgname=initscripts
|
||||
pkgver=2010.07
|
||||
pkgver=2010.11
|
||||
pkgrel=1
|
||||
pkgdesc="System initialization/bootup scripts"
|
||||
arch=('arm')
|
||||
|
@ -41,7 +41,7 @@ md5sums=('c03a4a5be5e2579b59e0dcd6a21d310b'
|
|||
'bd236a57bc00aa4727b98c5ae401c457'
|
||||
'669ce6d766dd9deb86686219f3763fe4'
|
||||
'8c94c7faaa17f0f4971cff19da047e44'
|
||||
'd7d0d3a2b01f9cb6512b2b0a67bcf971'
|
||||
'faff655ea188e1dac232e9c1c4b9f4f8'
|
||||
'230b25d02b0c2f99b9d1053ebcb9694f'
|
||||
'47e3f38b25f8482d4ccb5939b30bdca1')
|
||||
|
||||
|
|
|
@ -151,6 +151,12 @@ stat_done
|
|||
|
||||
run_hook shutdown_poweroff
|
||||
|
||||
# Turn LEDs off for Dockstar
|
||||
if [ -e "/sys/class/leds/dockstar:green:health/trigger" ]; then
|
||||
echo none > /sys/class/leds/dockstar\:green\:health/trigger
|
||||
echo none > /sys/class/leds/dockstar\:orange\:misc/trigger
|
||||
fi
|
||||
|
||||
# Power off or reboot
|
||||
if [ "$RUNLEVEL" = "0" ]; then
|
||||
printsep
|
||||
|
|
Loading…
Reference in a new issue