Guest User

Untitled

a guest
Jun 25th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.36 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/green/off_timer
  288. chown system system /sys/class/leds/amber/off_timer
  289. chown system system /sys/class/leds/red/device/grpfreq
  290. chown system system /sys/class/leds/red/device/grppwm
  291. chown system system /sys/class/leds/red/device/blink
  292. chown system system /sys/class/leds/red/device/grpfreq
  293. chown system system /sys/class/leds/red/device/grppwm
  294. chown system system /sys/class/leds/red/device/blink
  295. chown system system /sys/class/leds/button-backlight/brightness
  296. chown system system /sys/class/leds/lcd-backlight/brightness
  297. chown system system /sys/class/leds/flashlight/brightness
  298. chown system system /sys/class/leds/keyboard-backlight/brightness
  299. chown system system /sys/class/leds/vtkey-backlight/brightness
  300. chown system system /sys/class/leds/caps/brightness
  301. chown system system /sys/class/leds/func/brightness
  302. chown system system /sys/class/leds/rerightness
  303.  
  304. # for wireless modem
  305. chown system system /sys/module/serial/parameters/modem_enabled
  306. chown system system /dev/ttyHSUSB0
  307. chown system system /dev/smd9
  308. chown media media /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  309.  
  310. chown system system /dev/ttyHS0
  311. chown system system /dev/smd0
  312. chown system system /dev/smd1
  313. chown system system /dev/smd27
  314.  
  315. chmod 0666 /dev/rfkill
  316. chmod 0666 /dev/q6venc
  317. chmod 0666 /dev/ttyHS0
  318.  
  319. chmod 0666 /dev/ttyHS1
  320. chmod 666 /proc/cmdline
  321.  
  322. chmod 666 /dev/input/event0
  323. chmod 666 /dev/input/event1
  324. chmod 666 /dev/input/event2
  325. chmod 666 /dev/input/event3
  326. chmod 666 /dev/input/event4
  327. chmod 666 /dev/input/event5
  328. chmod 666 /dev/input/event6
  329.  
  330. chmod 666 /dev/uinput
  331. chmod 666 /dev/msm_aac_in
  332. chmod 666 /dev/msm_audio_ctl
  333. chmod 666 /dev/msm_audio_route
  334. chmod 666 /dev/msm_mp3
  335. chmod 666 /dev/msm_qcelp_in
  336. chmod 666 /dev/msm_snd
  337. chmod 666 /dev/msm_audpre
  338.  
  339. chmod 666 /dev/msm_pcm_in
  340. chmod 666 /dev/msm_pcm_out
  341. chmod 666 /dev/msm_pcm_ctl
  342. chmod 666 /dev/msm_hw3dm
  343. chmod 666 /dev/msm_hw3dc
  344.  
  345. chmod 666 /dev/qmi0
  346. chmod 666 /dev/qmi1
  347. chmod 666 /dev/qmi2
  348.  
  349. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0018/enable
  350. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0019/enable
  351. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0018/rate
  352. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0019/rate
  353. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0018/scale
  354. chmod 666 /sys/class/i2c-adapter/i2c-0/0-0019/scale
  355.  
  356. chmod 666 /sys/class/leds/flashlight/brightness
  357. chmod 666 /sys/class/leds/flashlight/max_brightness
  358.  
  359. chmod 666 /etc/bluez/audio.conf
  360. chmod 666 /etc/bluez/hcid.conf
  361. chmod 666 /etc/bluez/input.conf
  362.  
  363. chmod 0777 /dev/kgsl
  364. chmod 0777 /dev/smd0
  365. chmod 0777 /dev/smd1
  366. chmod 0777 /dev/smd27
  367. chmod 0777 /dev/vfe
  368. chmod 0777 /dev/camera
  369. chmod 0777 /dev/msm_camera
  370. chmod 0777 /dev/vogue_gps
  371. chmod 0777 /dev/akm8973_aot
  372. chmod 0777 /dev/akm8973_daemon
  373. chmod 0777 /dev/compass
  374. chmod 0777 /dev/lightsensor
  375. chmod 0777 /dev/bma150
  376. chmod 0777 /dev/cm3602
  377. chmod 0777 /dev/htc-acoustic
  378.  
  379.  
  380. # Define TCP buffer sizes for various networks
  381. # ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
  382. setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
  383. setprop net.tcp.buffersize.wifi 4095,87380,110208,4096,16384,110208
  384. setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208
  385. setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040
  386. setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680
  387. # setprop net.tcp.buffersize.wimax 107380,221184,524288,4096,16384,110208
  388.  
  389.  
  390. # Wireless properties
  391. setprop wifi.interface eth0
  392. setprop net.dns1 8.8.8.8
  393. setprop net.dns2 4.2.2.2
  394.  
  395. # Include extra init file
  396. import /system/etc/init.local.rc
  397.  
  398. # Run sysinit
  399. exec /system/bin/sysinit
  400.  
  401. class_start default
  402.  
  403. ## Daemon processes to be run by init.
  404. ##
  405. service console /system/bin/sh
  406. console
  407.  
  408. # adbd is controlled by the persist.service.adb.enable system property
  409. service adbd /sbin/adbd
  410. disabled
  411.  
  412. # adbd on at boot in emulator
  413. on property:ro.kernel.qemu=1
  414. start adbd
  415.  
  416. on property:persist.service.adb.enable=1
  417. start adbd
  418.  
  419. on property:persist.service.adb.enable=0
  420. stop adbd
  421.  
  422. service servicemanager /system/bin/servicemanager
  423. user system
  424. critical
  425. onrestart restart zygote
  426. onrestart restart media
  427.  
  428. service vold /system/bin/vold
  429. socket vold stream 0660 root mount
  430. ioprio be 2
  431.  
  432. service netd /system/bin/netd
  433. socket netd stream 0660 root system
  434.  
  435. service debuggerd /system/bin/debuggerd
  436.  
  437. service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0
  438. socket rild stream 660 root radio
  439. socket rild-debug stream 660 radio system
  440. socket rild-htc stream 660 radio system
  441. user root
  442. group radio cache inet misc audio
  443.  
  444. service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
  445. socket zygote stream 666
  446. onrestart write /sys/android_power/request_state wake
  447. onrestart write /sys/power/state on
  448. onrestart restart media
  449.  
  450. service media /system/bin/mediaserver
  451. user media
  452. group system audio camera graphics inet net_bt net_bt_admin net_raw
  453. ioprio rt 4
  454.  
  455. service bootsound /system/bin/playmp3
  456. user media
  457. group audio
  458. oneshot
  459.  
  460. service bootanim /system/bin/bootanimation
  461. user graphics
  462. group system audio graphics
  463. disabled
  464. oneshot
  465.  
  466. service hciattach /system/bin/brcm_patchram_plus --enable_hci \
  467. --baudrate 3000000 --patchram /etc/firmware/bcm4329.hcd /dev/ttyHS0
  468. user bluetooth
  469. group bluetooth net_bt_admin
  470. disabled
  471.  
  472. service dbus /system/bin/dbus-daemon --system --nofork
  473. socket dbus stream 660 bluetooth bluetooth
  474. user bluetooth
  475. group bluetooth net_bt_admin
  476.  
  477. service bluetoothd /system/bin/bluetoothd -n
  478. socket bluetooth stream 660 bluetooth bluetooth
  479. socket dbus_bluetooth stream 660 bluetooth bluetooth
  480. group bluetooth net_bt_admin misc
  481. disabled
  482.  
  483. service hfag /system/bin/sdptool add --channel=10 HFAG
  484. user bluetooth
  485. group bluetooth net_bt_admin
  486. disabled
  487. oneshot
  488.  
  489. service hsag /system/bin/sdptool add --channel=11 HSAG
  490. user bluetooth
  491. group bluetooth net_bt_admin
  492. disabled
  493. oneshot
  494.  
  495. service opush /system/bin/sdptool add --channel=12 OPUSH
  496. user bluetooth
  497. group bluetooth net_bt_admin
  498. disabled
  499. oneshot
  500.  
  501. service pbap /system/bin/sdptool add --channel=19 PBAP
  502. user bluetooth
  503. group bluetooth net_bt_admin
  504. disabled
  505. oneshot
  506.  
  507. service installd /system/bin/installd
  508. socket installd stream 600 system system
  509.  
  510. service racoon /system/bin/racoon
  511. socket racoon stream 600 system system
  512. # racoon will setuid to vpn after getting necessary resources.
  513. group net_admin
  514. disabled
  515. oneshot
  516.  
  517. service mtpd /system/bin/mtpd
  518. socket mtpd stream 600 system system
  519. user vpn
  520. group vpn net_admin net_raw
  521. disabled
  522. oneshot
  523.  
  524. service keystore /system/bin/keystore /data/misc/keystore
  525. user keystore
  526. group keystore
  527. socket keystore stream 666
  528.  
  529. service btld /system/bin/logwrapper /system/bin/btld -lpm 1 -hb 3000000
  530. user root
  531. group bluetooth net_bt_admin
  532. disabled
  533. oneshot
  534.  
  535. # for USB internet sharing
  536. service udhcpd /system/bin/udhcpd
  537. disabled
  538. oneshot
  539.  
  540. service netsharing_on /system/bin/netsharing net on
  541. disabled
  542. oneshot
  543.  
  544. service netsharing_off /system/bin/netsharing net off
  545. disabled
  546. oneshot
  547.  
  548. service netsharing_pass /system/bin/netsharing net_pass on
  549. disabled
  550. oneshot
  551.  
  552. service modem /system/xbin/wireless_modem
  553. user system
  554. group system
  555. disabled
  556.  
  557. service zchgd /system/bin/zchgd
  558. user root
  559. group root graphics
  560. oneshot
  561.  
  562. service dumpstate /system/bin/dumpstate -s
  563. socket dumpstate stream 0660 shell log
  564. disabled
  565. oneshot
  566.  
  567. on property:dev.bootcomplete=1
  568. start bootcomplete
  569.  
  570. service bootcomplete /system/bin/bootcomplete
  571. user root
  572. group root
  573. disabled
  574. oneshot
  575.  
  576. service shutdown /system/bin/shutdown
  577. user root
  578. group root
  579. disabled
  580. oneshot
  581.  
  582. service ipd /system/bin/ipd
  583. socket ipd stream 666 root inet
  584.  
  585. # Execute files in /etc/init.d before booting
  586. service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
  587. disabled
  588. oneshot
  589.  
  590. service init_cam /init_cam.sh
  591. oneshot
  592.  
  593. on property:service.modem.enable=1
  594. start modem
  595.  
  596. on property:service.modem.enable=0
  597. stop modem
  598.  
  599. service srv_ser2net /system/bin/ser2net -n
  600. disabled
  601.  
  602. on property:service.ser2net.enable=1
  603. start srv_ser2net
  604.  
  605. on property:service.ser2net.enable=0
  606. stop srv_ser2net
  607.  
  608. #service rmnet-mtu /bin/sh /rmnet0-mtu.sh
Add Comment
Please, Sign In to add comment