Marc Elser
New Around Here
Hi Everyone,
I have 2 scripts in my /jffs/scripts directory called "firewall-start" (adds iptables rules) and "services-start" (starts nginx). Since several releases (also in 380.58) "services-start" which should start nginx is not executed anymore, only "firewall-start" (I can see firewall-start in the logs but not services-start). Also in the webui jffs scripts are set to enabled.
both scripts are set to be executable and also running /jffs/scripts/services-start from ssh shell works fine and starts nginx. Was there any change in script names or any other reason why services-start doesn't get executed? I also tried adding a sleep command at start of services-start to delay start of nginx but it really seems that it's simply not executed, so ading a sleep doesn't help at all. the script looks like this
Any ideas?
I have 2 scripts in my /jffs/scripts directory called "firewall-start" (adds iptables rules) and "services-start" (starts nginx). Since several releases (also in 380.58) "services-start" which should start nginx is not executed anymore, only "firewall-start" (I can see firewall-start in the logs but not services-start). Also in the webui jffs scripts are set to enabled.
both scripts are set to be executable and also running /jffs/scripts/services-start from ssh shell works fine and starts nginx. Was there any change in script names or any other reason why services-start doesn't get executed? I also tried adding a sleep command at start of services-start to delay start of nginx but it really seems that it's simply not executed, so ading a sleep doesn't help at all. the script looks like this
Code:
#!/bin/sh
/opt/etc/init.d/S80nginx start
Any ideas?