summaryrefslogtreecommitdiffstats
path: root/init.gta04.rc
blob: e6ff9a7762fe65f0b53a556a95a882cb7471f7fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
on boot
    write /sys/class/usb_composite/usb_mass_storage/enable 1

    # Modem GPIO
    chown radio radio /sys/class/gpio/gpio186/value
    chmod 660 /sys/class/gpio/gpio186/value

    # Lights
    chown system system /sys/class/backlight/pwm-backlight/brightness
    chown system system /sys/class/backlight/pwm-backlight/max_brightness
    chown system system /sys/class/leds/gta04:red:power/brightness
    chown system system /sys/class/leds/gta04:red:power/max_brightness
    chown system system /sys/class/leds/gta04:green:power/brightness
    chown system system /sys/class/leds/gta04:green:power/max_brightness
    chown system system /sys/class/leds/gta04:red:aux/brightness
    chown system system /sys/class/leds/gta04:red:aux/max_brightness
    chown system system /sys/class/leds/gta04:green:aux/brightness
    chown system system /sys/class/leds/gta04:green:aux/max_brightness