NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Plukkie
Nov 28, 2007Aspirant
How to startup custom services at boottime automatically
Hi, I just installed my first piece of code on the NV+, a streaming daemon "kissd". I wonder how I can get this service startup automatic at bootime on the Infrant? I discovered there's only one...
Plukkie
Dec 07, 2007Aspirant
Guido,
It doesn't work for me. For the test I just created the simplest testscript you can imagine:
#! /bin/sh
/usr/local/bin/kissdx -c /ust/local/etc/kissdx.conf -d
I pushed it in /etc/init.d/ and created the startscripts with:
nas01:/etc/init.d# update-rc.d test defaults 60
Adding system startup for /etc/init.d/test ...
/etc/rc0.d/K60test -> ../init.d/test
/etc/rc1.d/K60test -> ../init.d/test
/etc/rc6.d/K60test -> ../init.d/test
/etc/rc2.d/S60test -> ../init.d/test
/etc/rc3.d/S60test -> ../init.d/test
/etc/rc4.d/S60test -> ../init.d/test
/etc/rc5.d/S60test -> ../init.d/test
nas01:/etc/init.d#
After the reboot, it isn't started.
I am thinking about the sequencing. There's only 1 startscript from Infrant in rc3.d, which is S99. This starts everything including networking probaby. Can it be, that kissdx refuses to start when networking isn't started yet?
But then again, I do not understand why it works at your Infrant?!
It doesn't work for me. For the test I just created the simplest testscript you can imagine:
#! /bin/sh
/usr/local/bin/kissdx -c /ust/local/etc/kissdx.conf -d
I pushed it in /etc/init.d/ and created the startscripts with:
nas01:/etc/init.d# update-rc.d test defaults 60
Adding system startup for /etc/init.d/test ...
/etc/rc0.d/K60test -> ../init.d/test
/etc/rc1.d/K60test -> ../init.d/test
/etc/rc6.d/K60test -> ../init.d/test
/etc/rc2.d/S60test -> ../init.d/test
/etc/rc3.d/S60test -> ../init.d/test
/etc/rc4.d/S60test -> ../init.d/test
/etc/rc5.d/S60test -> ../init.d/test
nas01:/etc/init.d#
After the reboot, it isn't started.
I am thinking about the sequencing. There's only 1 startscript from Infrant in rc3.d, which is S99. This starts everything including networking probaby. Can it be, that kissdx refuses to start when networking isn't started yet?
But then again, I do not understand why it works at your Infrant?!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!