The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 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 |
| 10 | export LD_LIBRARY_PATH /system/lib |
| 11 | export ANDROID_BOOTLOGO 1 |
| 12 | export ANDROID_ROOT /system |
| 13 | export ANDROID_ASSETS /system/app |
| 14 | export ANDROID_DATA /data |
| 15 | export EXTERNAL_STORAGE /sdcard |
| 16 | export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar |
| 17 | |
| 18 | # Backward compatibility |
| 19 | symlink /system/etc /etc |
Brian Swetland | bb6f68c | 2009-09-18 15:31:23 -0700 | [diff] [blame] | 20 | symlink /sys/kernel/debug /d |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 21 | |
| 22 | # create mountpoints and mount tmpfs on sqlite_stmt_journals |
| 23 | mkdir /sdcard 0000 system system |
| 24 | mkdir /system |
| 25 | mkdir /data 0771 system system |
| 26 | mkdir /cache 0770 system cache |
Dmitry Shmidt | 720f08f | 2009-06-09 14:38:56 -0700 | [diff] [blame] | 27 | mkdir /config 0500 root root |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 28 | mkdir /sqlite_stmt_journals 01777 root root |
| 29 | mount tmpfs tmpfs /sqlite_stmt_journals size=4m |
| 30 | |
| 31 | mount rootfs rootfs / ro remount |
| 32 | |
| 33 | write /proc/sys/kernel/panic_on_oops 1 |
| 34 | write /proc/sys/kernel/hung_task_timeout_secs 0 |
| 35 | write /proc/cpu/alignment 4 |
| 36 | write /proc/sys/kernel/sched_latency_ns 10000000 |
| 37 | write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000 |
San Mehat | 4322f2d | 2009-06-29 08:47:43 -0700 | [diff] [blame] | 38 | write /proc/sys/kernel/sched_compat_yield 1 |
San Mehat | 7baff71 | 2009-09-16 13:32:23 -0700 | [diff] [blame] | 39 | write /proc/sys/kernel/sched_child_runs_first 0 |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 40 | |
San Mehat | 529520e | 2009-10-06 11:22:55 -0700 | [diff] [blame] | 41 | # Create cgroup mount points for process groups |
| 42 | mkdir /dev/cpuctl |
| 43 | mount cgroup none /dev/cpuctl cpu |
| 44 | chown sytem system /dev/cpuctl |
| 45 | chown system system /dev/cpuctl/tasks |
| 46 | chmod 0777 /dev/cpuctl/tasks |
| 47 | write /dev/cpuctl/cpu.shares 1024 |
| 48 | |
| 49 | mkdir /dev/cpuctl/fg_boost |
| 50 | chown system system /dev/cpuctl/fg_boost/tasks |
| 51 | chmod 0777 /dev/cpuctl/fg_boost/tasks |
| 52 | write /dev/cpuctl/fg_boost/cpu.shares 1024 |
| 53 | |
| 54 | mkdir /dev/cpuctl/bg_non_interactive |
| 55 | chown system system /dev/cpuctl/bg_non_interactive/tasks |
| 56 | chmod 0777 /dev/cpuctl/bg_non_interactive/tasks |
| 57 | # 5.0 % |
| 58 | write /dev/cpuctl/bg_non_interactive/cpu.shares 52 |
San Mehat | 4933098 | 2009-04-21 14:34:19 -0700 | [diff] [blame] | 59 | |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 60 | # mount mtd partitions |
| 61 | # Mount /system rw first to give the filesystem a chance to save a checkpoint |
Chung-yih Wang | 1f75d70 | 2009-06-01 19:04:05 +0800 | [diff] [blame] | 62 | mount yaffs2 mtd@system /system |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 63 | mount yaffs2 mtd@system /system ro remount |
| 64 | |
| 65 | # We chown/chmod /data again so because mount is run as root + defaults |
| 66 | mount yaffs2 mtd@userdata /data nosuid nodev |
| 67 | chown system system /data |
| 68 | chmod 0771 /data |
| 69 | |
San Mehat | f26d6ce | 2009-09-01 09:11:04 -0700 | [diff] [blame] | 70 | # Create dump dir and collect dumps. |
| 71 | # Do this before we mount cache so eventually we can use cache for |
| 72 | # storing dumps on platforms which do not have a dedicated dump partition. |
| 73 | |
| 74 | mkdir /data/dontpanic |
Mike Lockwood | 25f1a5a | 2009-09-11 17:13:28 -0400 | [diff] [blame] | 75 | chown root log /data/dontpanic |
Mike Lockwood | 9332482 | 2009-09-08 22:55:59 -0400 | [diff] [blame] | 76 | chmod 0750 /data/dontpanic |
San Mehat | f26d6ce | 2009-09-01 09:11:04 -0700 | [diff] [blame] | 77 | |
| 78 | # Collect apanic data, free resources and re-arm trigger |
| 79 | copy /proc/apanic_console /data/dontpanic/apanic_console |
Mike Lockwood | 25f1a5a | 2009-09-11 17:13:28 -0400 | [diff] [blame] | 80 | chown root log /data/dontpanic/apanic_console |
Mike Lockwood | 9332482 | 2009-09-08 22:55:59 -0400 | [diff] [blame] | 81 | chmod 0640 /data/dontpanic/apanic_console |
San Mehat | 020f35f | 2009-09-01 15:38:18 -0700 | [diff] [blame] | 82 | |
San Mehat | f26d6ce | 2009-09-01 09:11:04 -0700 | [diff] [blame] | 83 | copy /proc/apanic_threads /data/dontpanic/apanic_threads |
Mike Lockwood | 25f1a5a | 2009-09-11 17:13:28 -0400 | [diff] [blame] | 84 | chown root log /data/dontpanic/apanic_threads |
Mike Lockwood | 9332482 | 2009-09-08 22:55:59 -0400 | [diff] [blame] | 85 | chmod 0640 /data/dontpanic/apanic_threads |
San Mehat | 020f35f | 2009-09-01 15:38:18 -0700 | [diff] [blame] | 86 | |
San Mehat | f26d6ce | 2009-09-01 09:11:04 -0700 | [diff] [blame] | 87 | write /proc/apanic_console 1 |
| 88 | |
| 89 | # Collect ramconsole data |
| 90 | copy /proc/last_kmsg /data/dontpanic/last_kmsg |
Mike Lockwood | 25f1a5a | 2009-09-11 17:13:28 -0400 | [diff] [blame] | 91 | chown root log /data/dontpanic/last_kmsg |
Mike Lockwood | 9332482 | 2009-09-08 22:55:59 -0400 | [diff] [blame] | 92 | chmod 0640 /data/dontpanic/last_kmsg |
San Mehat | f26d6ce | 2009-09-01 09:11:04 -0700 | [diff] [blame] | 93 | |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 94 | # Same reason as /data above |
| 95 | mount yaffs2 mtd@cache /cache nosuid nodev |
| 96 | chown system cache /cache |
| 97 | chmod 0770 /cache |
| 98 | |
| 99 | # This may have been created by the recovery system with odd permissions |
| 100 | chown system system /cache/recovery |
| 101 | chmod 0770 /cache/recovery |
| 102 | |
Rebecca Schultz Zavin | 14d898e | 2009-10-08 15:25:52 -0700 | [diff] [blame] | 103 | #change permissions on vmallocinfo so we can grab it from bugreports |
| 104 | chown root log /proc/vmallocinfo |
| 105 | chmod 0440 /proc/vmallocinfo |
| 106 | |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 107 | # create basic filesystem structure |
| 108 | mkdir /data/misc 01771 system misc |
Jaikumar Ganesh | 1d36696 | 2009-05-05 22:28:54 -0700 | [diff] [blame] | 109 | mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth |
Chia-chi Yeh | 9b4f1ff | 2009-09-18 10:35:26 +0800 | [diff] [blame] | 110 | mkdir /data/misc/keystore 0700 keystore keystore |
Chung-yih Wang | 1f75d70 | 2009-06-01 19:04:05 +0800 | [diff] [blame] | 111 | mkdir /data/misc/vpn 0770 system system |
| 112 | mkdir /data/misc/vpn/profiles 0770 system system |
Mike Lockwood | 48d116e | 2009-07-08 18:42:08 -0400 | [diff] [blame] | 113 | # give system access to wpa_supplicant.conf for backup and restore |
| 114 | mkdir /data/misc/wifi 0770 wifi wifi |
| 115 | chmod 0770 /data/misc/wifi |
Amith Yamasani | eefef32 | 2009-07-02 12:08:13 -0700 | [diff] [blame] | 116 | chmod 0660 /data/misc/wifi/wpa_supplicant.conf |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 117 | mkdir /data/local 0771 shell shell |
| 118 | mkdir /data/local/tmp 0771 shell shell |
| 119 | mkdir /data/data 0771 system system |
| 120 | mkdir /data/app-private 0771 system system |
| 121 | mkdir /data/app 0771 system system |
| 122 | mkdir /data/property 0700 root root |
| 123 | |
San Mehat | 2154187 | 2009-08-26 16:38:51 -0700 | [diff] [blame] | 124 | |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 125 | # create dalvik-cache and double-check the perms |
| 126 | mkdir /data/dalvik-cache 0771 system system |
| 127 | chown system system /data/dalvik-cache |
| 128 | chmod 0771 /data/dalvik-cache |
| 129 | |
| 130 | # create the lost+found directories, so as to enforce our permissions |
| 131 | mkdir /data/lost+found 0770 |
| 132 | mkdir /cache/lost+found 0770 |
| 133 | |
| 134 | # double check the perms, in case lost+found already exists, and set owner |
| 135 | chown root root /data/lost+found |
| 136 | chmod 0770 /data/lost+found |
| 137 | chown root root /cache/lost+found |
| 138 | chmod 0770 /cache/lost+found |
| 139 | |
| 140 | on boot |
| 141 | # basic network init |
| 142 | ifup lo |
| 143 | hostname localhost |
| 144 | domainname localdomain |
| 145 | |
| 146 | # set RLIMIT_NICE to allow priorities from 19 to -20 |
| 147 | setrlimit 13 40 40 |
| 148 | |
| 149 | # Define the oom_adj values for the classes of processes that can be |
| 150 | # killed by the kernel. These are used in ActivityManagerService. |
| 151 | setprop ro.FOREGROUND_APP_ADJ 0 |
| 152 | setprop ro.VISIBLE_APP_ADJ 1 |
| 153 | setprop ro.SECONDARY_SERVER_ADJ 2 |
Christopher Tate | 17df71e | 2009-06-05 18:20:08 -0700 | [diff] [blame] | 154 | setprop ro.BACKUP_APP_ADJ 2 |
The Android Open Source Project | e4749f3 | 2009-03-09 11:52:15 -0700 | [diff] [blame] | 155 | setprop ro.HOME_APP_ADJ 4 |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 156 | setprop ro.HIDDEN_APP_MIN_ADJ 7 |
| 157 | setprop ro.CONTENT_PROVIDER_ADJ 14 |
| 158 | setprop ro.EMPTY_APP_ADJ 15 |
| 159 | |
| 160 | # Define the memory thresholds at which the above process classes will |
| 161 | # be killed. These numbers are in pages (4k). |
| 162 | setprop ro.FOREGROUND_APP_MEM 1536 |
| 163 | setprop ro.VISIBLE_APP_MEM 2048 |
| 164 | setprop ro.SECONDARY_SERVER_MEM 4096 |
Christopher Tate | 17df71e | 2009-06-05 18:20:08 -0700 | [diff] [blame] | 165 | setprop ro.BACKUP_APP_MEM 4096 |
The Android Open Source Project | e4749f3 | 2009-03-09 11:52:15 -0700 | [diff] [blame] | 166 | setprop ro.HOME_APP_MEM 4096 |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 167 | setprop ro.HIDDEN_APP_MEM 5120 |
| 168 | setprop ro.CONTENT_PROVIDER_MEM 5632 |
| 169 | setprop ro.EMPTY_APP_MEM 6144 |
| 170 | |
| 171 | # Write value must be consistent with the above properties. |
The Android Open Source Project | e4749f3 | 2009-03-09 11:52:15 -0700 | [diff] [blame] | 172 | # Note that the driver only supports 6 slots, so we have HOME_APP at the |
| 173 | # same memory level as services. |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 174 | write /sys/module/lowmemorykiller/parameters/adj 0,1,2,7,14,15 |
| 175 | |
| 176 | write /proc/sys/vm/overcommit_memory 1 |
The Android Open Source Project | e037fd7 | 2009-03-13 13:04:37 -0700 | [diff] [blame] | 177 | write /proc/sys/vm/min_free_order_shift 4 |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 178 | write /sys/module/lowmemorykiller/parameters/minfree 1536,2048,4096,5120,5632,6144 |
| 179 | |
| 180 | # Set init its forked children's oom_adj. |
| 181 | write /proc/1/oom_adj -16 |
| 182 | |
| 183 | # Permissions for System Server and daemons. |
| 184 | chown radio system /sys/android_power/state |
| 185 | chown radio system /sys/android_power/request_state |
| 186 | chown radio system /sys/android_power/acquire_full_wake_lock |
| 187 | chown radio system /sys/android_power/acquire_partial_wake_lock |
| 188 | chown radio system /sys/android_power/release_wake_lock |
| 189 | chown radio system /sys/power/state |
| 190 | chown radio system /sys/power/wake_lock |
| 191 | chown radio system /sys/power/wake_unlock |
| 192 | chmod 0660 /sys/power/state |
| 193 | chmod 0660 /sys/power/wake_lock |
| 194 | chmod 0660 /sys/power/wake_unlock |
| 195 | chown system system /sys/class/timed_output/vibrator/enable |
| 196 | chown system system /sys/class/leds/keyboard-backlight/brightness |
| 197 | chown system system /sys/class/leds/lcd-backlight/brightness |
| 198 | chown system system /sys/class/leds/button-backlight/brightness |
The Android Open Source Project | f614d64 | 2009-03-18 17:39:49 -0700 | [diff] [blame] | 199 | chown system system /sys/class/leds/jogball-backlight/brightness |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 200 | chown system system /sys/class/leds/red/brightness |
| 201 | chown system system /sys/class/leds/green/brightness |
| 202 | chown system system /sys/class/leds/blue/brightness |
| 203 | chown system system /sys/class/leds/red/device/grpfreq |
| 204 | chown system system /sys/class/leds/red/device/grppwm |
| 205 | chown system system /sys/class/leds/red/device/blink |
| 206 | chown system system /sys/class/leds/red/brightness |
| 207 | chown system system /sys/class/leds/green/brightness |
| 208 | chown system system /sys/class/leds/blue/brightness |
| 209 | chown system system /sys/class/leds/red/device/grpfreq |
| 210 | chown system system /sys/class/leds/red/device/grppwm |
| 211 | chown system system /sys/class/leds/red/device/blink |
| 212 | chown system system /sys/class/timed_output/vibrator/enable |
| 213 | chown system system /sys/module/sco/parameters/disable_esco |
| 214 | chown system system /sys/kernel/ipv4/tcp_wmem_min |
| 215 | chown system system /sys/kernel/ipv4/tcp_wmem_def |
| 216 | chown system system /sys/kernel/ipv4/tcp_wmem_max |
| 217 | chown system system /sys/kernel/ipv4/tcp_rmem_min |
| 218 | chown system system /sys/kernel/ipv4/tcp_rmem_def |
| 219 | chown system system /sys/kernel/ipv4/tcp_rmem_max |
| 220 | chown root radio /proc/cmdline |
| 221 | |
| 222 | # Define TCP buffer sizes for various networks |
| 223 | # ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax, |
| 224 | setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208 |
| 225 | setprop net.tcp.buffersize.wifi 4095,87380,110208,4096,16384,110208 |
| 226 | setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208 |
| 227 | setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040 |
| 228 | setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680 |
| 229 | |
| 230 | class_start default |
| 231 | |
| 232 | ## Daemon processes to be run by init. |
| 233 | ## |
| 234 | service console /system/bin/sh |
| 235 | console |
| 236 | |
| 237 | # adbd is controlled by the persist.service.adb.enable system property |
| 238 | service adbd /sbin/adbd |
| 239 | disabled |
| 240 | |
| 241 | # adbd on at boot in emulator |
| 242 | on property:ro.kernel.qemu=1 |
| 243 | start adbd |
| 244 | |
| 245 | on property:persist.service.adb.enable=1 |
| 246 | start adbd |
| 247 | |
| 248 | on property:persist.service.adb.enable=0 |
| 249 | stop adbd |
| 250 | |
| 251 | service servicemanager /system/bin/servicemanager |
| 252 | user system |
| 253 | critical |
| 254 | onrestart restart zygote |
| 255 | onrestart restart media |
| 256 | |
The Android Open Source Project | e4749f3 | 2009-03-09 11:52:15 -0700 | [diff] [blame] | 257 | service vold /system/bin/vold |
| 258 | socket vold stream 0660 root mount |
| 259 | |
San Mehat | 269946c | 2009-05-06 11:18:43 -0700 | [diff] [blame] | 260 | service nexus /system/bin/nexus |
| 261 | socket nexus stream 0660 root system |
| 262 | disabled |
| 263 | |
The Android Open Source Project | e4749f3 | 2009-03-09 11:52:15 -0700 | [diff] [blame] | 264 | #service mountd /system/bin/mountd |
| 265 | # socket mountd stream 0660 root mount |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 266 | |
| 267 | service debuggerd /system/bin/debuggerd |
| 268 | |
| 269 | service ril-daemon /system/bin/rild |
| 270 | socket rild stream 660 root radio |
| 271 | socket rild-debug stream 660 radio system |
| 272 | user root |
| 273 | group radio cache inet misc |
| 274 | |
| 275 | service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server |
| 276 | socket zygote stream 666 |
| 277 | onrestart write /sys/android_power/request_state wake |
| 278 | onrestart write /sys/power/state on |
| 279 | |
| 280 | service media /system/bin/mediaserver |
| 281 | user media |
| 282 | group system audio camera graphics inet net_bt net_bt_admin |
| 283 | |
| 284 | service bootsound /system/bin/playmp3 |
| 285 | user media |
| 286 | group audio |
| 287 | oneshot |
| 288 | |
Mathias Agopian | 8b2cf9f | 2009-05-20 18:09:51 -0700 | [diff] [blame] | 289 | service bootanim /system/bin/bootanimation |
| 290 | user graphics |
| 291 | group graphics |
| 292 | disabled |
| 293 | oneshot |
| 294 | |
Jaikumar Ganesh | 1320687 | 2009-09-18 15:45:43 -0700 | [diff] [blame] | 295 | service dbus /system/bin/dbus-daemon --system --nofork |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 296 | socket dbus stream 660 bluetooth bluetooth |
| 297 | user bluetooth |
| 298 | group bluetooth net_bt_admin |
| 299 | |
Jaikumar Ganesh | 1320687 | 2009-09-18 15:45:43 -0700 | [diff] [blame] | 300 | service bluetoothd /system/bin/bluetoothd -n |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 301 | socket bluetooth stream 660 bluetooth bluetooth |
| 302 | socket dbus_bluetooth stream 660 bluetooth bluetooth |
| 303 | # init.rc does not yet support applying capabilities, so run as root and |
Jaikumar Ganesh | 1d36696 | 2009-05-05 22:28:54 -0700 | [diff] [blame] | 304 | # let bluetoothd drop uid to bluetooth with the right linux capabilities |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 305 | group bluetooth net_bt_admin misc |
| 306 | disabled |
| 307 | |
| 308 | service hfag /system/bin/sdptool add --channel=10 HFAG |
| 309 | user bluetooth |
| 310 | group bluetooth net_bt_admin |
| 311 | disabled |
| 312 | oneshot |
| 313 | |
| 314 | service hsag /system/bin/sdptool add --channel=11 HSAG |
| 315 | user bluetooth |
| 316 | group bluetooth net_bt_admin |
| 317 | disabled |
| 318 | oneshot |
| 319 | |
Nick Pelly | b44aeb7 | 2009-07-14 21:29:15 -0700 | [diff] [blame] | 320 | service opush /system/bin/sdptool add --channel=12 OPUSH |
| 321 | user bluetooth |
| 322 | group bluetooth net_bt_admin |
| 323 | disabled |
| 324 | oneshot |
| 325 | |
Jaikumar Ganesh | 630f5f0 | 2009-07-23 21:19:04 -0700 | [diff] [blame] | 326 | service pbap /system/bin/sdptool add --channel=19 PBAP |
| 327 | user bluetooth |
| 328 | group bluetooth net_bt_admin |
| 329 | disabled |
| 330 | oneshot |
| 331 | |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 332 | service installd /system/bin/installd |
| 333 | socket installd stream 600 system system |
| 334 | |
Doug Zongker | d52f54c | 2009-07-23 15:18:34 -0700 | [diff] [blame] | 335 | service flash_recovery /system/etc/install-recovery.sh |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 336 | oneshot |
Chung-yih Wang | 1f75d70 | 2009-06-01 19:04:05 +0800 | [diff] [blame] | 337 | |
Chia-chi Yeh | 51afbf5 | 2009-07-01 07:06:47 +0800 | [diff] [blame] | 338 | service racoon /system/bin/racoon |
Chung-yih Wang | 1f75d70 | 2009-06-01 19:04:05 +0800 | [diff] [blame] | 339 | socket racoon stream 600 system system |
Chia-chi Yeh | 51afbf5 | 2009-07-01 07:06:47 +0800 | [diff] [blame] | 340 | # racoon will setuid to vpn after getting necessary resources. |
Chia-chi Yeh | 9b4f1ff | 2009-09-18 10:35:26 +0800 | [diff] [blame] | 341 | group net_admin |
Chung-yih Wang | 1f75d70 | 2009-06-01 19:04:05 +0800 | [diff] [blame] | 342 | disabled |
| 343 | oneshot |
| 344 | |
| 345 | service mtpd /system/bin/mtpd |
| 346 | socket mtpd stream 600 system system |
Chia-chi Yeh | 51afbf5 | 2009-07-01 07:06:47 +0800 | [diff] [blame] | 347 | user vpn |
| 348 | group vpn net_admin net_raw |
Chung-yih Wang | 1f75d70 | 2009-06-01 19:04:05 +0800 | [diff] [blame] | 349 | disabled |
| 350 | oneshot |
| 351 | |
Chia-chi Yeh | 9b4f1ff | 2009-09-18 10:35:26 +0800 | [diff] [blame] | 352 | service keystore /system/bin/keystore /data/misc/keystore |
Chung-yih Wang | 1f75d70 | 2009-06-01 19:04:05 +0800 | [diff] [blame] | 353 | user keystore |
| 354 | group keystore |
| 355 | socket keystore stream 666 |
| 356 | |
Mike Lockwood | abe3a9c | 2009-09-02 18:09:26 -0400 | [diff] [blame] | 357 | service dumpstate /system/bin/dumpstate -s |
| 358 | socket dumpstate stream 0660 shell log |
| 359 | disabled |
| 360 | oneshot |