New rc scripts?

Thomas 'Balu' Walter tw at itreff.de
Fri Oct 20 15:13:43 PDT 2000


+-Gerard Beekmans-(gerard at linuxfromscratch.org)-[20.10.00 23:36]:
> > 1) enable and disable options in the init.d scripts
> <cut>
> 
> You don't even have to do it with all the symlinks. Try this:

The symlink idea saves some time at booting ;)

I like both ways...

> 
> #!/bin/bash
> # Begin /etc/init.d/sshd
> 
> if [ -f /etc/sysconfig/disable-sshd ]
> then
> 	exit 0
> fi

... but the first version does not add "proprietary config files" - one

reason why I left the broken road of the commercial distributions...

    Ba-expect.prechroot.install.log.on.monday-lu

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list