summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-openmoko/led-trigger.sh
blob: 9583ce933102881ebe8e972986938dd4b512a493 (plain)
1
2
3
4
5
6
#! /bin/sh
sys_led_trigger="/sys/devices/platform/gta02-led.0/leds/gta02-aux:red/trigger"
if test -e $sys_led_trigger ;then
        echo bat-charging > $sys_led_trigger
fi