cgull
New Around Here
For some reason my init-start script is not running although it works when called explicitly. I am running an RT-AC68P with 378.55_0. Any thoughts on what the issue could be?
Code:
admin@RT-AC68P-0000:/tmp/home/root# ls -la /jffs/scripts/init-start
-rwxrwxrwx 1 admin root 76 Aug 14 14:54 /jffs/scripts/init-start
admin@RT-AC68P-0000:/tmp/home/root# cat /jffs/scripts/init-start
#!/bin/sh
sleep 10
/usr/sbin/cru a ScheduledReboot "0 4 * * * /sbin/reboot"
admin@RT-AC68P-0000:/tmp/home/root# cru l
admin@RT-AC68P-0000:/tmp/home/root#
admin@RT-AC68P-0000:/tmp/home/root# /jffs/scripts/init-start
admin@RT-AC68P-0000:/tmp/home/root# cru l
0 4 * * * /sbin/reboot #ScheduledReboot#
Last edited: