[plug] debian startup scripts

Bernard Blackham bernard at blackham.com.au
Wed Mar 30 11:58:10 WST 2005


On Tue, Mar 29, 2005 at 09:45:52PM +0800, Matthew Lambie wrote:
> On Tue, 2005-03-29 at 18:13 +0800, Tim Bowden wrote:
> > Hi all,
> > 
> > Redhat has /etc/rc.d/rc.local, debian used to have /etc/rc.boot but it
> > seems to be deprecated, but what is the 'preferred' way of running
> > ad-hoc startup scripts in debian?
> 
> I use /etc/init.d/bootmisc.sh to run scripts at startup. Hope this
> helps.

This might cause issues with upgrades. As Craig said, rolling your
own and using update-rc.d is probably a better solution. There's
also a /etc/init.d/skeleton which you might like to use as a
starting point.

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>



More information about the plug mailing list