Merge "disable module loading after BOOT_COMPLETED broadcast"
am: 20b7f78204
Change-Id: I8dc2233f7a39deee7d557d65d8130248fbb32cf5
This commit is contained in:
commit
65c8cb8935
1 changed files with 6 additions and 0 deletions
|
|
@ -644,6 +644,12 @@ on property:sys.powerctl=*
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
bootchart stop
|
bootchart stop
|
||||||
|
|
||||||
|
on property:sys.boot_completed=1 && property:ro.build.type=user
|
||||||
|
write /proc/sys/kernel/modules_disabled 1
|
||||||
|
|
||||||
|
on property:sys.boot_completed=1 && property:ro.build.type=userdebug
|
||||||
|
write /proc/sys/kernel/modules_disabled 1
|
||||||
|
|
||||||
# system server cannot write to /proc/sys files,
|
# system server cannot write to /proc/sys files,
|
||||||
# and chown/chmod does not work for /proc/sys/ entries.
|
# and chown/chmod does not work for /proc/sys/ entries.
|
||||||
# So proxy writes through init.
|
# So proxy writes through init.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue