Closed ED4free closed 1 year ago
I guess it is a problem like for selinux permissive not working on this smartphone due to a heavy protection. Anyway, I no more need it. It was for mounting an ext4 external SD at boot. As it is for using Linux Deploy I make the mount in Linux Deploy setting.
Hello all, I use this system : https:/ */github.com/TrebleDroid/treble_experimentations/releases/download/ci-20230330/system-td-arm64-ab-vanilla.img.xz I want to launch a shell script a boot time, and another when the devices is put in access point mod. I do the same than I did on others system from PHH, but this time it does not work.
Here is what I do :
In /etc/init , I put a file called edphone.rc, I make a "chmod +x" on it, This file contains : on property:sys.boot_completed=1 exec u:r:phhsu_daemon:s0 root -- /system/bin/edphone-init.sh on property:wifi.active.interface="ap0" exec u:r:phhsu_daemon:s0 root -- /system/bin/majhost.sh on property:wifi.active.interface="wlan0" exec u:r:phhsu_daemon:s0 root -- /system/bin/majhost.sh
The two shell scripts are in /system/bin, with "chmod +x"' But the are not executed.
Have you an idea of the reason ?
Thanks a lot.
Thierry
Thierry