Guest User

Untitled

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