Thomas 'Balu' Walter
tw at itreff.de
Sun Jul 23 14:54:13 PDT 2000
+-Gerard Beekmans-(gerard at linuxfromscratch.org)-[23.07.00 21:19]:
> > One last joke here: I'm still wondering what this function would be...
> > 8-)))
> I can't think up any, but I do have an idea (totally separate from this
> discussion) for writing another function: enable and disable
> If you want to disable a script without having to remove or rename the
> symlink in /etc/rc3.d and similar directories call the script with
> /etc/init.d/sysklogd disable
> It'll simply write a file (call it a lock file like the ones you see in
> /var/lock) and the script tests the existance of it. If present, it
> won't do anything (ie: won't load syslogd and klogd). If you want to
> enable it again call /etc/init.d/sysklogd enable and the lock file will
> be removed.
Nice idea - got another (stolen from SuSE).
Symlink /sbin/rcsysklogd (e.g.) to /etc/init.d/sysklogd and you can
easily do "rcsysklogd stop" or similar.
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)
More information about the lfs-dev