xplodwild | b3e27ae | 2013-10-17 11:06:27 +0100 | [diff] [blame] | 1 | # Omni Extras |
Andrew Dodd | 3fa72fb | 2013-09-28 12:19:27 -0400 | [diff] [blame] | 2 | |
| 3 | on init |
Andrew Dodd | 3fa72fb | 2013-09-28 12:19:27 -0400 | [diff] [blame] | 4 | export TERMINFO /system/etc/terminfo |
| 5 | export TERM linux |
| 6 | |
| 7 | on post-fs-data |
| 8 | mkdir /cache/dalvik-cache 0771 system system |
| 9 | chown system system /cache/dalvik-cache |
| 10 | chmod 0771 /cache/dalvik-cache |
| 11 | mkdir /data/.ssh 0750 root shell |
| 12 | |
| 13 | # Run sysinit |
| 14 | start sysinit |
| 15 | |
| 16 | # sysinit (/system/etc/init.d) |
| 17 | service sysinit /system/bin/sysinit |
| 18 | user root |
| 19 | oneshot |
| 20 | disabled |
maxwen | 32ec8c6 | 2013-10-17 20:45:38 +0200 | [diff] [blame] | 21 | |
| 22 | # adb over network |
| 23 | on property:service.adb.tcp.port=5555 |
| 24 | stop adbd |
| 25 | start adbd |
| 26 | on property:service.adb.tcp.port=-1 |
| 27 | stop adbd |
| 28 | start adbd |