-
Notifications
You must be signed in to change notification settings - Fork 304
Open
Description
Problem description
Termux boot does not run script at all
Steps to reproduce
Create a script as described in the documentation in .termux/boot/ and do a chmod +x of that script.
Put a line with date >> /data/data/com.termux/files/home/termux-boot which should log the current time at every reboot.
Expected behavior
After reboot, the date is logged, but nothing is logged and other commands are not run as well.
Additional information
- Termux application version: 0.118
- Android OS version: 10
- Device model: Oneplus 6
Contents of the script:
#!/data/data/com.termux/files/usr/bin/sh
sshd
/data/data/com.termux/files/usr/bin/sv start httpd
/data/data/com.termux/files/usr/bin/sv start sshd
/data/data/com.termux/files/usr/bin/avahi-daemon &
mysqld &
date >> /data/data/com.termux/files/home/tasker-boot
termux-wake-lock
This starts sshd, Apache, MariaDB, avahi and finally logs the current time to check whether the script has really run.
Qwert221
Metadata
Metadata
Assignees
Labels
No labels