Guest User

Untitled

a guest
Jun 25th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.37 KB | None | 0 0
  1. on init
  2.  
  3. sysclktz 0
  4.  
  5. loglevel 3
  6.  
  7. # setup the global environment
  8. export PATH /sbin:/system/sbin:/system/bin:/system/xbin:/bin
  9. export LD_LIBRARY_PATH /system/lib
  10. export ANDROID_BOOTLOGO 1
  11. export ANDROID_CACHE /cache
  12. export ANDROID_ROOT /system
  13. export ANDROID_ASSETS /system/app
  14. export ANDROID_DATA /data
  15. export EXTERNAL_STORAGE /mnt/sdcard
  16. export ASEC_MOUNTPOINT /mnt/asec
  17. export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
  18. export TERMINFO /system/etc/terminfo
  19.  
  20. # Backward compatibility
  21. symlink /system/etc /etc
  22. symlink /sys/kernel/debug /d
  23.  
  24. # create mountpoints
  25. mkdir /mnt 0775 root system
  26. mkdir /mnt/sdcard 0000 system system
  27.  
  28.  
  29.  
  30. # Create cgroup mount point for cpu accounting
  31. mkdir /acct
  32. mount cgroup none /acct cpuacct
  33. mkdir /acct/uid
  34.  
  35. # Backwards Compat - XXX: Going away in G*
  36. symlink /mnt/sdcard /sdcard
  37.  
  38. mkdir /system
  39. mkdir /data 0771 system system
  40. mkdir /cache 0771 system cache
  41. mkdir /config 0500 root root
  42.  
  43. # Directory for putting things only root should see.
  44. mkdir /mnt/secure 0700 root root
  45.  
  46. # Directory for staging bindmounts
  47. mkdir /mnt/secure/staging 0700 root root
  48.  
  49. # Directory-target for where the secure container
  50. # imagefile directory will be bind-mounted
  51. mkdir /mnt/secure/asec 0700 root root
  52.  
  53. # Secure container public mount points.
  54. mkdir /mnt/asec 0700 root system
  55. mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
  56.  
  57. #mount rootfs rootfs / ro remount
  58.  
  59. write /proc/sys/kernel/panic_on_oops 1
  60. write /proc/sys/kernel/hung_task_timeout_secs 0
  61. write /proc/cpu/alignment 4
  62. write /proc/sys/kernel/sched_latency_ns 10000000
  63. write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
  64. write /proc/sys/kernel/sched_compat_yield 1
  65. write /proc/sys/kernel/sched_child_runs_first 0
  66.  
  67. # Create cgroup mount points for process groups
  68. mkdir /dev/cpuctl
  69. mount cgroup none /dev/cpuctl cpu
  70. chown system system /dev/cpuctl
  71. chown system system /dev/cpuctl/tasks
  72. chmod 0777 /dev/cpuctl/tasks
  73. write /dev/cpuctl/cpu.shares 1024
  74.  
  75. mkdir /dev/cpuctl/fg_boost
  76. chown system system /dev/cpuctl/fg_boost/tasks
  77. chmod 0777 /dev/cpuctl/fg_boost/tasks
  78. write /dev/cpuctl/fg_boost/cpu.shares 1024
  79.  
  80. mkdir /dev/cpuctl/bg_non_interactive
  81. chown system system /dev/cpuctl/bg_non_interactive/tasks
  82. chmod 0777 /dev/cpuctl/bg_non_interactive/tasks
  83. # 5.0 %
  84. write /dev/cpuctl/bg_non_interactive/cpu.shares 52
  85.  
  86. # mount mtd partitions
  87. # Mount /system rw first to give the filesystem a chance to save a checkpoint
  88. #mount yaffs2 mtd@system /system
  89. #mount yaffs2 mtd@system /system ro remount
  90.  
  91. # We chown/chmod /data again so because mount is run as root + defaults
  92. #mount yaffs2 mtd@userdata /data nosuid nodev
  93. chown system system /data
  94. chmod 0771 /data
  95.  
  96. # Mount compressed filesystems
  97. #mount squashfs loop@/system/lib/modules/modules.sqf /system/lib/modules ro
  98. #mount squashfs loop@/system/xbin/xbin.sqf /system/xbin ro
  99.  
  100. # Create dump dir and collect dumps.
  101. # Do this before we mount cache so eventually we can use cache for
  102. # storing dumps on platforms which do not have a dedicated dump partition.
  103.  
  104. mkdir /data/dontpanic
  105. chown root log /data/dontpanic
  106. chmod 0750 /data/dontpanic
  107.  
  108. # Collect apanic data, free resources and re-arm trigger
  109. copy /proc/apanic_console /data/dontpanic/apanic_console
  110. chown root log /data/dontpanic/apanic_console
  111. chmod 0640 /data/dontpanic/apanic_console
  112.  
  113. copy /proc/apanic_threads /data/dontpanic/apanic_threads
  114. chown root log /data/dontpanic/apanic_threads
  115. chmod 0640 /data/dontpanic/apanic_threads
  116.  
  117. write /proc/apanic_console 1
  118.  
  119. # Same reason as /data above
  120. #mount yaffs2 mtd@cache /cache nosuid nodev
  121. chown system cache /cache
  122. chmod 0771 /cache
  123.  
  124. # This may have been created by the recovery system with odd permissions
  125. chown system cache /cache/recovery
  126. chmod 0770 /cache/recovery
  127.  
  128. #change permissions on vmallocinfo so we can grab it from bugreports
  129. chown root log /proc/vmallocinfo
  130. chmod 0440 /proc/vmallocinfo
  131.  
  132. #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
  133. chown root system /proc/kmsg
  134. chmod 0440 /proc/kmsg
  135. chown root system /proc/sysrq-trigger
  136. chmod 0220 /proc/sysrq-trigger
  137.  
  138. # create basic filesystem structure
  139. mkdir /data/misc 01771 system misc
  140. mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth
  141. mkdir /data/misc/bluetooth 0770 system system
  142. mkdir /data/misc/keystore 0700 keystore keystore
  143. mkdir /data/misc/vpn 0770 system system
  144. mkdir /data/misc/systemkeys 0700 system system
  145. mkdir /data/misc/vpn/profiles 0770 system system
  146. # give system access to wpa_supplicant.conf for backup and restore
  147. mkdir /data/misc/wifi 0770 wifi wifi
  148. chmod 0770 /data/misc/wifi
  149. chmod 0660 /data/misc/wifi/wpa_supplicant.conf
  150. mkdir /data/local 0771 shell shell
  151. mkdir /data/local/tmp 0771 shell shell
  152. mkdir /data/data 0771 system system
  153. mkdir /data/app-private 0771 system system
  154. mkdir /data/app 0771 system system
  155. mkdir /data/property 0700 root root
  156. # DRMv1 rights storage
  157. symlink /data/local /data/drm
  158. mkdir /data/local/rights 0777 shell shell
  159. chown shell shell /data/drm
  160. write /data/drm/rights/mid.txt 0
  161. chmod 0777 /data/drm/rights/mid.txt
  162.  
  163. # create dalvik-cache and double-check the perms
  164. mkdir /data/dalvik-cache 0771 system system
  165. chown system system /data/dalvik-cache
  166. chmod 0771 /data/dalvik-cache
  167.  
  168. # create dalvik-cache and double-check the perms
  169. mkdir /cache/dalvik-cache 0771 system system
  170. chown system system /cache/dalvik-cache
  171. chmod 0771 /cache/dalvik-cache
  172.  
  173. # create the lost+found directories, so as to enforce our permissions
  174. mkdir /data/lost+found 0770
  175. mkdir /cache/lost+found 0770
  176.  
  177. # double check the perms, in case lost+found already exists, and set owner
  178. chown root root /data/lost+found
  179. chmod 0770 /data/lost+found
  180. chown root root /cache/lost+found
  181. chmod 0770 /cache/lost+found
  182.  
  183. # allow net_raw to have access to /dev/socket directory
  184. chown root net_raw /dev/socket
  185. chmod 0775 /dev/socket
  186.  
  187. on boot
  188. # basic network init
  189. ifup lo
  190. hostname localhost
  191. domainname localdomain
  192.  
  193. # set RLIMIT_NICE to allow priorities from 19 to -20
  194. setrlimit 13 40 40
  195.  
  196. # Define the oom_adj values for the classes of processes that can be
  197. # killed by the kernel. These are used in ActivityManagerService.
  198. setprop ro.FOREGROUND_APP_ADJ 0
  199. setprop ro.VISIBLE_APP_ADJ 1
  200. setprop ro.SECONDARY_SERVER_ADJ 2
  201. setprop ro.BACKUP_APP_ADJ 2
  202. setprop ro.HOME_APP_ADJ 4
  203. setprop ro.HIDDEN_APP_MIN_ADJ 7
  204. setprop ro.CONTENT_PROVIDER_ADJ 14
  205. setprop ro.EMPTY_APP_ADJ 15
  206.  
  207. # Define the memory thresholds at which the above process classes will
  208. # be killed. These numbers are in pages (4k).
  209. setprop ro.FOREGROUND_APP_MEM 1536
  210. setprop ro.VISIBLE_APP_MEM 2048
  211. setprop ro.SECONDARY_SERVER_MEM 4096
  212. setprop ro.BACKUP_APP_MEM 4096
  213. setprop ro.HOME_APP_MEM 4096
  214. setprop ro.HIDDEN_APP_MEM 5120
  215. setprop ro.CONTENT_PROVIDER_MEM 5632
  216. setprop ro.EMPTY_APP_MEM 6144
  217.  
  218.  
  219.  
  220. # New Stuff
  221. mkdir /data/misc/wifi 0770 wifi wifi
  222. mkdir /data/misc/wifi/sockets 0770 wifi wifi
  223. mkdir /data/misc/dhcp 0770 dhcp dhcp
  224. chown dhcp dhcp /data/misc/dhcp
  225.  
  226.  
  227. # Enable Anr history , it would output the debuginfo to data partition
  228. # 1: on 0: off
  229. # setprop debugtool.anrhistory 1
  230.  
  231. # Set error receiver
  232. setprop ro.error.receiver.htc.apps com.android.updater
  233.  
  234. #ruu
  235. write /data/misc/screen_lock_status 0
  236. chown system system /data/misc/screen_lock_status
  237. chmod 644 /data/misc/screen_lock_status
  238.  
  239. # Write value must be consistent with the above properties.
  240. # Note that the driver only supports 6 slots, so we have HOME_APP at the
  241. # same memory level as services.
  242. write /sys/module/lowmemorykiller/parameters/adj 0,1,2,7,14,15
  243.  
  244. write /proc/sys/vm/overcommit_memory 1
  245. write /proc/sys/vm/min_free_order_shift 4
  246. write /sys/module/lowmemorykiller/parameters/minfree 1536,2048,4096,5120,5632,6144
  247.  
  248. # Set init its forked children's oom_adj.
  249. write /proc/1/oom_adj -16
  250.  
  251. # Tweak background writeout
  252. write /proc/sys/vm/dirty_expire_centisecs 200
  253. write /proc/sys/vm/dirty_background_ratio 5
  254.  
  255. # Permissions for System Server and daemons.
  256. chown radio system /sys/android_power/state
  257. chown radio system /sys/android_power/request_state
  258. chown radio system /sys/android_power/acquire_full_wake_lock
  259. chown radio system /sys/android_power/acquire_partial_wake_lock
  260. chown radio system /sys/android_power/release_wake_lock
  261. chown radio system /sys/power/state
  262. chown radio system /sys/power/wake_lock
  263. chown radio system /sys/power/wake_unlock
  264. chown radio system /sys/camera_led_status/led_ril_status
  265. chown system system /sys/camera_led_status/led_wimax_status
  266. chown system system /sys/camera_led_status/led_hotspot_status
  267. chown media system /sys/android_camera/cam_mode
  268. chmod 0660 /sys/power/state
  269. chmod 0660 /sys/power/wake_lock
  270. chmod 0660 /sys/power/wake_unlock
  271. chown system system /sys/class/timed_output/vibrator/enable
  272. chown system system /sys/module/sco/parameters/disable_esco
  273. chown system system /sys/kernel/ipv4/tcp_wmem_min
  274. chown system system /sys/kernel/ipv4/tcp_wmem_def
  275. chown system system /sys/kernel/ipv4/tcp_wmem_max
  276. chown system system /sys/kernel/ipv4/tcp_rmem_min
  277. chown system system /sys/kernel/ipv4/tcp_rmem_def
  278. chown system system /sys/kernel/ipv4/tcp_rmem_max
  279. chown root radio /proc/cmdline
  280.  
  281. # Permissions for Liblights.
  282. chown system system /sys/class/leds/green/brightness
  283. chown system system /sys/class/leds/green/blink
  284. chown system system /sys/class/leds/amber/brightness
  285. chown system system /sys/class/leds/amber/blink
  286. chown system system /sys/class/leds/red/brightness
  287. chown system system /sys/class/leds/red/blink
  288. chown system system /sys/class/leds/green/off_timer
  289. chown system system /sys/class/leds/amber/off_timer
  290. chown system system /sys/class/leds/red/device/grpfreq
  291. chown system system /sys/class/leds/red/device/grppwm
  292. chown system system /sys/class/leds/red/device/blink
  293. chown system system /sys/class/leds/red/device/grpfreq
  294. chown system system /sys/class/leds/red/device/grppwm
  295. chown system system /sys/class/leds/red/device/blink
  296. chown system system /sys/class/leds/button-backlight/brightness
  297. chown system system /sys/class/leds/lcd-backlight/brightness
  298. chown system system /sys/class/leds/flashlight/brightness
  299. chown system system /sys/class/leds/keyboard-backlight/brightness
  300. chown system system /sys/class/leds/vtkey-backlight/brightness
  301. chown system system /sys/class/leds/caps/brightness
  302. chown system system /sys/class/leds/func/brightness
  303. chown system system /sys/class/leds/rerightness
  304.  
  305. # for wireless modem
  306. chown system system /sys/module/serial/parameters/modem_enabled
  307. chown system system /dev/ttyHSUSB0
  308. chown system system /dev/smd9
  309. chown media media /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  310.  
  311. chown system system /dev/ttyHS0
  312. chown system system /dev/smd0
  313. chown system system /dev/smd1
  314. chown system system /dev/smd27
  315.  
  316. chmod 0666 /dev/rfkill
  317. chmod 0666 /dev/q6venc
  318. chmod 0666 /dev/ttyHS0
  319.  
  320. chmod 0666 /dev/ttyHS1
  321. chmod 666 /proc/cmdline
  322.  
  323. chmod 666 /dev/input/event0
  324. chmod 666 /dev/input/event1
  325. chmod 666 /dev/input/event2
  326. chmod 666 /dev/input/event3
  327. chmod 666 /dev/input/event4
  328. chmod 666 /dev/input/event5
  329. chmod 666 /dev/input/event6
  330.  
  331. chmod 666 /dev/uinput
  332. chmod 666 /dev/msm_aac_in
  333. chmod 666 /dev/msm_audio_ctl
  334. chmod 666 /dev/msm_audio_route
  335. chmod 666 /dev/msm_mp3
  336. chmod 666 /dev/msm_qcelp_in
  337. chmod 666 /dev/msm_snd
  338. chmod 666 /dev/msm_audpre
  339.  
  340. chmod 666 /dev/msm_pcm_in
  341. chmod 666 /dev/msm_pcm_out
  342. chmod 666 /dev/msm_pcm_ctl
  343. chmod 666 /dev/msm_hw3dm
  344. chmod 666 /dev/msm_hw3dc
  345.  
  346. chmod 666 /dev/qmi0
  347. chmod 666 /dev/qmi1
  348. chmod 666 /dev/qmi2
  349.  
  350. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0018/enable
  351. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0019/enable
  352. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0018/rate
  353. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0019/rate
  354. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0018/scale
  355. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0019/scale
  356.  
  357. chmod 666 /sys/class/leds/flashlight/brightness
  358. chmod 666 /sys/class/leds/flashlight/max_brightness
  359.  
  360. chmod 666 /etc/bluez/audio.conf
  361. chmod 666 /etc/bluez/hcid.conf
  362. chmod 666 /etc/bluez/input.conf
  363.  
  364. chmod 0777 /dev/kgsl
  365. chmod 0777 /dev/smd0
  366. chmod 0777 /dev/smd1
  367. chmod 0777 /dev/smd27
  368. chmod 0777 /dev/vfe
  369. chmod 0777 /dev/camera
  370. chmod 0777 /dev/msm_camera
  371. chmod 0777 /dev/vogue_gps
  372. chmod 0777 /dev/akm8973_aot
  373. chmod 0777 /dev/akm8973_daemon
  374. chmod 0777 /dev/compass
  375. chmod 0777 /dev/lightsensor
  376. chmod 0777 /dev/bma150
  377. chmod 0777 /dev/cm3602
  378. chmod 0777 /dev/htc-acoustic
  379.  
  380.  
  381. # Define TCP buffer sizes for various networks
  382. # ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
  383. setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
  384. setprop net.tcp.buffersize.wifi 4095,87380,110208,4096,16384,110208
  385. setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208
  386. setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040
  387. setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680
  388. # setprop net.tcp.buffersize.wimax 107380,221184,524288,4096,16384,110208
  389.  
  390.  
  391. # Wireless properties
  392. setprop wifi.interface eth0
  393. setprop net.dns1 8.8.8.8
  394. setprop net.dns2 4.2.2.2
  395.  
  396. # Include extra init file
  397. import /system/etc/init.local.rc
  398.  
  399. # Run sysinit
  400. exec /system/bin/sysinit
  401.  
  402. class_start default
  403.  
  404. ## Daemon processes to be run by init.
  405. ##
  406. service console /system/bin/sh
  407. console
  408.  
  409. # adbd is controlled by the persist.service.adb.enable system property
  410. service adbd /sbin/adbd
  411. disabled
  412.  
  413. # adbd on at boot in emulator
  414. on property:ro.kernel.qemu=1
  415. start adbd
  416.  
  417. on property:persist.service.adb.enable=1
  418. start adbd
  419.  
  420. on property:persist.service.adb.enable=0
  421. stop adbd
  422.  
  423. service servicemanager /system/bin/servicemanager
  424. user system
  425. critical
  426. onrestart restart zygote
  427. onrestart restart media
  428.  
  429. service vold /system/bin/vold
  430. socket vold stream 0660 root mount
  431. ioprio be 2
  432.  
  433. service netd /system/bin/netd
  434. socket netd stream 0660 root system
  435.  
  436. service debuggerd /system/bin/debuggerd
  437.  
  438. service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0
  439. socket rild stream 660 root radio
  440. socket rild-debug stream 660 radio system
  441. socket rild-htc stream 660 radio system
  442. user root
  443. group radio cache inet misc audio
  444.  
  445. service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
  446. socket zygote stream 666
  447. onrestart write /sys/android_power/request_state wake
  448. onrestart write /sys/power/state on
  449. onrestart restart media
  450.  
  451. service media /system/bin/mediaserver
  452. user media
  453. group system audio camera graphics inet net_bt net_bt_admin net_raw
  454. ioprio rt 4
  455.  
  456. service bootsound /system/bin/playmp3
  457. user media
  458. group audio
  459. oneshot
  460.  
  461. service bootanim /system/bin/bootanimation
  462. user graphics
  463. group system audio graphics
  464. disabled
  465. oneshot
  466.  
  467. service hciattach /system/bin/brcm_patchram_plus --enable_hci \
  468. --baudrate 3000000 --patchram /etc/firmware/bcm4329.hcd /dev/ttyHS0
  469. user bluetooth
  470. group bluetooth net_bt_admin
  471. disabled
  472.  
  473. service dbus /system/bin/dbus-daemon --system --nofork
  474. socket dbus stream 660 bluetooth bluetooth
  475. user bluetooth
  476. group bluetooth net_bt_admin
  477.  
  478. service bluetoothd /system/bin/bluetoothd -n
  479. socket bluetooth stream 660 bluetooth bluetooth
  480. socket dbus_bluetooth stream 660 bluetooth bluetooth
  481. group bluetooth net_bt_admin misc
  482. disabled
  483.  
  484. service hfag /system/bin/sdptool add --channel=10 HFAG
  485. user bluetooth
  486. group bluetooth net_bt_admin
  487. disabled
  488. oneshot
  489.  
  490. service hsag /system/bin/sdptool add --channel=11 HSAG
  491. user bluetooth
  492. group bluetooth net_bt_admin
  493. disabled
  494. oneshot
  495.  
  496. service opush /system/bin/sdptool add --channel=12 OPUSH
  497. user bluetooth
  498. group bluetooth net_bt_admin
  499. disabled
  500. oneshot
  501.  
  502. service pbap /system/bin/sdptool add --channel=19 PBAP
  503. user bluetooth
  504. group bluetooth net_bt_admin
  505. disabled
  506. oneshot
  507.  
  508. service installd /system/bin/installd
  509. socket installd stream 600 system system
  510.  
  511. service racoon /system/bin/racoon
  512. socket racoon stream 600 system system
  513. # racoon will setuid to vpn after getting necessary resources.
  514. group net_admin
  515. disabled
  516. oneshot
  517.  
  518. service mtpd /system/bin/mtpd
  519. socket mtpd stream 600 system system
  520. user vpn
  521. group vpn net_admin net_raw
  522. disabled
  523. oneshot
  524.  
  525. service keystore /system/bin/keystore /data/misc/keystore
  526. user keystore
  527. group keystore
  528. socket keystore stream 666
  529.  
  530. service btld /system/bin/logwrapper /system/bin/btld -lpm 1 -hb 3000000
  531. user root
  532. group bluetooth net_bt_admin
  533. disabled
  534. oneshot
  535.  
  536. # for USB internet sharing
  537. service udhcpd /system/bin/udhcpd
  538. disabled
  539. oneshot
  540.  
  541. service netsharing_on /system/bin/netsharing net on
  542. disabled
  543. oneshot
  544.  
  545. service netsharing_off /system/bin/netsharing net off
  546. disabled
  547. oneshot
  548.  
  549. service netsharing_pass /system/bin/netsharing net_pass on
  550. disabled
  551. oneshot
  552.  
  553. service modem /system/xbin/wireless_modem
  554. user system
  555. group system
  556. disabled
  557.  
  558. service zchgd /system/bin/zchgd
  559. user root
  560. group root graphics
  561. oneshot
  562.  
  563. service dumpstate /system/bin/dumpstate -s
  564. socket dumpstate stream 0660 shell log
  565. disabled
  566. oneshot
  567.  
  568. on property:dev.bootcomplete=1
  569. start bootcomplete
  570.  
  571. service bootcomplete /system/bin/bootcomplete
  572. user root
  573. group root
  574. disabled
  575. oneshot
  576.  
  577. service shutdown /system/bin/shutdown
  578. user root
  579. group root
  580. disabled
  581. oneshot
  582.  
  583. service ipd /system/bin/ipd
  584. socket ipd stream 666 root inet
  585.  
  586. # Execute files in /etc/init.d before booting
  587. service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
  588. disabled
  589. oneshot
  590.  
  591. service init_cam /init_cam.sh
  592. oneshot
  593.  
  594. on property:service.modem.enable=1
  595. start modem
  596.  
  597. on property:service.modem.enable=0
  598. stop modem
  599.  
  600. service srv_ser2net /system/bin/ser2net -n
  601. disabled
  602.  
  603. on property:service.ser2net.enable=1
  604. start srv_ser2net
  605.  
  606. on property:service.ser2net.enable=0
  607. stop srv_ser2net
  608.  
  609. #service rmnet-mtu /bin/sh /rmnet0-mtu.sh
Add Comment
Please, Sign In to add comment