device/generic/common
修訂 | 989d000ff03ec9af32b7816594be95276423112b (tree) |
---|---|
時間 | 2016-05-06 03:17:12 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init.x86.rc: use the marshmallow built-in command exec
@@ -44,7 +44,7 @@ on init | ||
44 | 44 | setprop ro.product.manufacturer $[/sys/class/dmi/id/sys_vendor] |
45 | 45 | setprop ro.product.model $[/sys/class/dmi/id/product_name] |
46 | 46 | |
47 | - exec /system/bin/logwrapper /system/bin/sh /system/etc/init.sh | |
47 | + exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh | |
48 | 48 | |
49 | 49 | on fs |
50 | 50 | mount_all /fstab.${ro.hardware} |
@@ -171,16 +171,16 @@ on property:system_init.startsurfaceflinger=0 | ||
171 | 171 | |
172 | 172 | on property:sys.boot_completed=1 |
173 | 173 | write /proc/sys/kernel/ctrl-alt-del 0 |
174 | - exec /system/bin/logwrapper /system/bin/sh /system/etc/init.sh bootcomplete | |
174 | + exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh bootcomplete | |
175 | 175 | |
176 | 176 | on property:init.svc.bluetoothd=running |
177 | - exec /system/bin/logwrapper /system/bin/sh /system/etc/init.sh hci | |
177 | + exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh hci | |
178 | 178 | |
179 | 179 | on property:init.svc.bluetoothd=stopped |
180 | - exec /system/bin/logwrapper /system/bin/sh /system/etc/init.sh hci | |
180 | + exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh hci | |
181 | 181 | |
182 | 182 | on property:net.dns1=* |
183 | - exec /system/bin/logwrapper /system/bin/sh /system/etc/init.sh netconsole | |
183 | + exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh netconsole | |
184 | 184 | |
185 | 185 | on property:debug.logcat=1 |
186 | 186 | class_start debug |