Re: BSD vs SysV init scripts

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: plug-discuss
Subject: Re: BSD vs SysV init scripts
On Sun, 23 Jan 2005, Siri Amrit Kaur wrote:

> either going to have to learn SysV or switch to one of the BSD's.
>
> Dennis...
> have you been able to burn that NetBSD disk for me yet? ;-)


Hello my friend,

NetBSD and FreeBSD for the past couple years use the NetBSD rc.d system.

Have a look at

http://www.netbsd.org/guide/en/chap-rc.html

http://www.daemonnews.org/200108/rcdsystem.html

http://www.mewburn.net/luke/talks/auug-2003/index.html

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html

Yes, you can still use the old BSD style, but the new system makes it
easier to manage services. The old rc style is available on OpenBSD,
FreeBSD 4.x and now-dead BSD/OS.

I have used the new NetBSD rc.dt for a couple years on several of my Linux
systems too. Here is my wife's computer:

$ uname -s -r
Linux 2.6.9
$ ls  /etc/rc.d
DAEMON      cupsd  localnetwork    mountcritremote  slpd    sysctl
LOGIN       dmesg  modutils        network          slurpd  syslogd
NETWORKING  fsck   motd            quota            sshd    ttys
SERVERS     kdm    mountall        root             swap1   xdm
apache      klogd  mountcritlocal  slapd            swap2
$ /etc/rc.d/sshd status
sshd is running as pid 15840.
$ /etc/rc.d/xdm
Usage: /etc/rc.d/xdm [fast|force](start stop restart rcvar reload status poll)




Jeremy C. Reed

                 BSD News, BSD tutorials, BSD links
                http://www.bsdnewsletter.com/


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss