I am just about getting my head around jffs and scripts but this is not my area at all!
I thought I had done well sorting the led on and off scripts so i took the plunge and went head 1st into Improve Your Web Surfing Speed with OpenDNS
and it worked!
but.
it did its own services-start
replacing
if i try and add the above into the new file it breaks everything, no lights and when I visit http://www.opendns.com/welcome/ it tells me I am not using opendns.
Would one of you scripters mind giving me a copy and paste that works please
(oh and i didn't put #!/bin/sh in twice)
I thought I had done well sorting the led on and off scripts so i took the plunge and went head 1st into Improve Your Web Surfing Speed with OpenDNS
and it worked!
but.
it did its own services-start
Code:
#!/bin/sh
sleep 10
/opt/etc/init.d/rc.unslung start
replacing
Code:
#!/bin/sh
cru a lightsoff "0 22 * * * /jffs/scripts/ledsoff.sh"
cru a lightson "0 7 * * * /jffs/scripts/ledson.sh"
if i try and add the above into the new file it breaks everything, no lights and when I visit http://www.opendns.com/welcome/ it tells me I am not using opendns.
Would one of you scripters mind giving me a copy and paste that works please
(oh and i didn't put #!/bin/sh in twice)
Last edited: