[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Re: [hobbit] auto-restart clients




Henrik Stoerner <henrik (at) hswn.dk> wrote:
Now the trick is to get that script run automatically when the system
starts up. How you do that depends on the Unix flavour - often the
script is installed in /etc/init.d/bigbrother, and then you need to
create links from /etc/rc2.d/S99bigbrother -> /etc/init.d/bigbrother

Since there also were stop in the script you should also link the script to /etc/rc1.d/K01bigbrother to automatically stop bigbrother

Ie. ln -s /etc/init.d/bigbrother /etc/rc1.d/K01bigbrother

Regards

Lars

 



Hobbithobbyist

"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)