Hello,
I created a file "/jffs/scripts/services-stop" that should execute the file "/jffs/scripts/fake-hwclock save", but this isn't working.
Manually starting the script works, it creates a file /jffs/fake-hwclock.data and appends the line correctly.
After rebooting, "/jffs/scripts/services-start" gets executed, but services-stop doesn't even show up in my log files.
/jffs/scripts/services-stop:
Permissions were set with:
chmod a+rx /jffs/scripts/*
Edit: I'm using an Asus RT-AC68U with the latest Asuswrt-Merlin 380.57
I created a file "/jffs/scripts/services-stop" that should execute the file "/jffs/scripts/fake-hwclock save", but this isn't working.
Manually starting the script works, it creates a file /jffs/fake-hwclock.data and appends the line correctly.
After rebooting, "/jffs/scripts/services-start" gets executed, but services-stop doesn't even show up in my log files.
/jffs/scripts/services-stop:
Code:
#!/bin/sh
/jffs/scripts/fake-hwclock save
Permissions were set with:
chmod a+rx /jffs/scripts/*
Edit: I'm using an Asus RT-AC68U with the latest Asuswrt-Merlin 380.57