WispTheHusky
New Around Here
Hey there. Looking for a bit of advice on custom scripting on my GT-BE98, please.
I'm wanting to run a custom shell script on my GT-BE98 during boot. The file itself is saving fine, totally accessible after reboot, etc. But my current attempts to run anything on boot have been in vain. I've tried:
- Using
- Using a Cron job to re-arm the script using a reboot hook:
All Cron jobs are wiped on reboot, and there doesn't appear to be a way to make them persistant. I'm aware Asus has been locking out their routers more and more... But considering the files still save to the device and persist after a reboot, makes me think there is surely a way to access them? What would the point be of allowing us to create persistant .sh files if we're no longer able to use them? I was wondering if there was any known way to execute these scripts on start or reboot?
I'm aware that ASUSWRT-Merlin isn't available for my router, but the GNUton version is. The problem is, I dislike the GNUton-provided UI, and can see numerous issues on the GitHub for the GT-BE98 build that'll impact me quite severely. I was hoping there might be a way to allow this functionality while remaining stock? Any advice would be appreicated.
Many thanks!
I'm wanting to run a custom shell script on my GT-BE98 during boot. The file itself is saving fine, totally accessible after reboot, etc. But my current attempts to run anything on boot have been in vain. I've tried:
- Using
services-start
and init-start
:
Bash:
cat << 'EOF' > /jffs/scripts/services-start
#!/bin/sh
cru a porkbun_ddns "*/5 * * * * /jffs/ddns_porkbun.sh"
EOF
chmod +x /jffs/scripts/services-start
cru a porkbun_ddns_boot "@reboot cru a porkbun_ddns \"*/5 * * * * /jffs/ddns_porkbun.sh\""
All Cron jobs are wiped on reboot, and there doesn't appear to be a way to make them persistant. I'm aware Asus has been locking out their routers more and more... But considering the files still save to the device and persist after a reboot, makes me think there is surely a way to access them? What would the point be of allowing us to create persistant .sh files if we're no longer able to use them? I was wondering if there was any known way to execute these scripts on start or reboot?
I'm aware that ASUSWRT-Merlin isn't available for my router, but the GNUton version is. The problem is, I dislike the GNUton-provided UI, and can see numerous issues on the GitHub for the GT-BE98 build that'll impact me quite severely. I was hoping there might be a way to allow this functionality while remaining stock? Any advice would be appreicated.
Many thanks!