[plug] debian startup scripts

Matthew Lambie mlambie at thefrontiergroup.com.au
Thu Mar 31 08:37:22 WST 2005


On Wed, 2005-03-30 at 11:58 +0800, Bernard Blackham wrote:
> 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.

Debian's always prompted me if my file's been different to what it was
expecting (indicating I've modified it) but that will depend on the
alert level you've set.

>  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.

Cool, didn't know skeleton existed.

> 
> Bernard.
> 
-- 

Thanks,

Matthew Lambie
Technical Director

THE FRONTIER GROUP, PTY. LTD.
Suite 17/44 Kings Park Road
West Perth, WA  6005
Australia

w: http://thefrontiergroup.com.au
e: mlambie at thefrontiergroup.com.au
f: +61 (08) 6263 4444
m: +61 408 866 997




More information about the plug mailing list