Estoy tratando de configurar mi ramdisk para disparar 2 conjuntos de scripts. 1 es ramdisk /sbin solamente, los otros son scripts permitidos por el usuario
# Check Properties
on property:dp.early_init.done=1
chmod 0777 /data/dp_scripts/onearlyinit.sh
exec /data/dp_scripts/onearlyinit.sh &
start dp_early_init
on property:dp.init.done=1
chmod 0777 /data/dp_scripts/oninit.sh
exec /data/dp_scripts/oninit.sh &
start dp_init
on property:dp.late_init.done=1
chmod 0777 /data/dp_scripts/onlateinit.sh
exec /data/dp_scripts/onlateinit.sh &
start dp_late_init
on property:dp.post_fs.done=1
chmod 0777 /data/dp_scripts/onpostfs.sh
exec /data/dp_scripts/onpostfs.sh &
start dp_post_fs
on property:dp.post_fs_data.done=1
chmod 0777 /data/dp_scripts/onpostfsdata.sh
exec /data/dp_scripts/onpostfsdata.sh &
start dp_post_fs_data
on property:dp.boot.done=1
chmod 0777 /data/dp_scripts/onboot.sh
exec /data/dp_scripts/onboot.sh &
start dp_boot
on property:sys.boot_completed=1
chmod 0777 /data/dp_scripts/onpostboot.sh
exec /data/dp_scripts/onpostboot.sh &
export PATH /sbin:/system/bin
start dp_post_boot
on property:sys.shutdown.requested=1
chmod 0777 /data/dp_scripts/onshutdown.sh
exec /data/dp_scripts/onshutdown.sh &
start dp_shutdown
# DP Services
service dp_early_init /sbin/bash /sbin/0/onearlyinit.sh
user root
disabled
oneshot
service dp_init /sbin/bash /sbin/0/oninit.sh
user root
disabled
oneshot
service dp_late_init /sbin/bash /sbin/0/onlateinit.sh
user root
disabled
oneshot
service dp_post_fs /sbin/bash /sbin/0/onpostfs.sh
user root
disabled
oneshot
service dp_post_fs_data /sbin/bash /sbin/0/onpostfsdata.sh
user root
disabled
oneshot
service dp_boot /sbin/bash /sbin/0/onboot.sh
user root
disabled
oneshot
service dp_post_boot /sbin/bash /sbin/0/onpostboot.sh
class late_start
user root
disabled
oneshot
service dp_shutdown /sbin/bash /sbin/0/onshutdown.sh
user root
disabled
oneshot
Mientras que los servicios en sí se disparan, la ejecución del /data/dp_scripts/*
Los guiones nunca ocurren.
Este es un kernel de lollipop, corriendo en un Note 3
¿Cómo puedo forzar la ejecución de /data/dp_scripts/*
en los momentos indicados?