5 LEDS_CONTROL=/tmp/bbshk_leds
10 # gpio write $LED_BOOT 1
12 gpio mode 0 out # II green
13 gpio mode 2 out # III red
17 LEDS_STATE=$(cat $LEDS_CONTROL)
21 gpio write $LED_BOOT 1
25 if [ -z $ONOFF ]; then
26 gpio write $LED_VIDEO 0
29 gpio write $LED_VIDEO 1
35 gpio write $LED_VIDEO 1
39 gpio write $LED_VIDEO 0
44 if [ -z $ONOFF ]; then
45 gpio write $LED_BOOT 0
48 gpio write $LED_BOOT 1