summaryrefstree
path: root/system/etc/init/sn.rc
blob: 7c7fe9812c1b75095ee34b588b1ee82e27ae2d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
on post-fs-data
    chmod 0664 /sys/class/android_usb/android0/iSerial
    chown root system /sys/class/android_usb/android0/iSerial
    chmod 0664 /sys/devices/platform/mt_usb/cmode
    chown root system /sys/devices/platform/mt_usb/cmode

service sn /system/bin/sn
    class late_start
    user system
    group system sdcard_rw
    oneshot