Startup Items not starting

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
donkthemagicllama
DD-WRT Novice


Joined: 20 Jun 2006
Posts: 9

PostPosted: Tue Jun 20, 2006 21:32    Post subject: Startup Items not starting Reply with quote
I'm running 23SP1 mini on a v3.0 WRT54G. Since I'm running mini, I had room to enable JFFS and installed ez-ipupdate from an OpenWRT repository.

ez-ipupdate works well, but I want to have it launch every time I boot. This command line launches it when connected via ssh: /jffs/usr/sbin/ez-ipupdate -c /jffs/etc/ez-ipupdate.conf

If I run a "ps" after that, I'll see ez-ipupdate running. If I put the exact same line in the startup NVRAM item (via the web interface), when I run "ps" after rebooting, ez-ipupdate is not running.

Any suggestions? Is it somehow called before /jffs/ is mounted?
Sponsor
Rich-M
DD-WRT Novice


Joined: 06 Jun 2006
Posts: 32
Location: North Eastern USA

PostPosted: Tue Jun 20, 2006 21:50    Post subject: Reply with quote
Try:

sleep 45;/jffs/usr/sbin/ez-ipupdate -c /jffs/etc/ez-ipupdate.conf

as your start script, the system needs time to mount all the file systems
and stabilize before all the services, etc become available. This method works 100% of the time for me.

-Rich
donkthemagicllama
DD-WRT Novice


Joined: 20 Jun 2006
Posts: 9

PostPosted: Wed Jun 21, 2006 3:43    Post subject: Reply with quote
Worked like a charm, thanks!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum