Subject: CVS commit: basesrc
To: None <>
From: Luke Mewburn <>
List: source-changes
Date: 08/09/2000 22:09:52
Module Name:	basesrc
Committed By:	lukem
Date:		Wed Aug  9 19:09:51 UTC 2000

Modified Files:
	basesrc/etc/rc.d [netbsd-1-5]: DAEMON LOGIN SERVERS cron dhclient dmesg
	    inetd lkm1 lkm2 lkm3 motd mountcritlocal mountcritremote mountd
	    network ntpdate ppp pwcheck rpcbind swap1 swap2 sysdb syslogd
	    virecover wscons xdm
Added Files:
	basesrc/etc/rc.d [netbsd-1-5]: NETWORK sshd
Removed Files:
	basesrc/etc/rc.d [netbsd-1-5]: systemfs

Log Message:
pull up the following
approved by: thorpej

	etc/rc.d/DAEMON		1.3
	etc/rc.d/LOGIN		1.3
	etc/rc.d/NETWORK	1.1
	etc/rc.d/SERVERS	1.2
	etc/rc.d/cron		1.4
	etc/rc.d/dhclient	1.6
	etc/rc.d/dmesg		1.4
	etc/rc.d/inetd		1.5
	etc/rc.d/lkm1		1.3
	etc/rc.d/lkm2		1.3
	etc/rc.d/lkm3		1.4
	etc/rc.d/motd		1.3
	etc/rc.d/mountcritlocal		1.3-1.4
	etc/rc.d/mountcritremote	1.3
	etc/rc.d/mountd		1.7
	etc/rc.d/network	1.12 1.14
	etc/rc.d/ntpdate	1.4
	etc/rc.d/ppp		1.3-1.4
	etc/rc.d/pwcheck	1.3
	etc/rc.d/rpcbind	1.4
	etc/rc.d/sshd		1.3-1.5
	etc/rc.d/swap1		1.5
	etc/rc.d/swap2		1.4
	etc/rc.d/sysdb		1.3-1.4
	etc/rc.d/syslogd	1.5-1.6
	etc/rc.d/systemfs	REMOVE
	etc/rc.d/virecover	1.3
	etc/rc.d/wscons		1.4
	etc/rc.d/xdm		1.5


* reword descriptions
* add '# KEYWORD: shutdown' to some of these scripts so that only they get run
  at shutdown time.  now, only scripts with the keyword `shutdown' will be
  run by /etc/rc.shutdown, which speeds up shutdown and makes it more robust
* add new dummy dependancy `NETWORK' to be REQUIREd by services which need
  networking to be operational before starting, and use as appropriate.
  NETWORK depends upon network and dhclient.
* move the guts of systemfs into mountcritlocal
* replace the dependancy on systemfs with mountcritremote, and remove the
* SERVERS now also depends upon ppp
* move recreating /var/run/utmp from mountcritlocal (where /var/run is
  purged but /usr/bin/install is not available) to sysdb.
  problem noted by Matthias Drochner.
* share the same load_rc_config between the lkm* scripts
* network: Don't warn that $hostname isn't set if the hostname is already set.
* network: reenable stop_cmd now that network doesn't get run at shutdown
* add sshd startup script
* use "load_rc_config swap" for swap1 and swap2
* syslog requires databases from sysdb which creates /var/run/utmp.

Should fix PRs:
    [install/9853] [bin/10002] [misc/10349] [port-i386/10633] [misc/10641]

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.2.2.1 basesrc/etc/rc.d/DAEMON
cvs rdiff -r1.2 -r1.2.4.1 basesrc/etc/rc.d/LOGIN basesrc/etc/rc.d/lkm1 \
    basesrc/etc/rc.d/lkm2 basesrc/etc/rc.d/mountcritlocal \
    basesrc/etc/rc.d/mountcritremote basesrc/etc/rc.d/ppp \
    basesrc/etc/rc.d/pwcheck basesrc/etc/rc.d/sysdb \
cvs rdiff -r0 -r1.1.2.1 basesrc/etc/rc.d/NETWORK
cvs rdiff -r1.1.4.1 -r1.1.4.2 basesrc/etc/rc.d/SERVERS
cvs rdiff -r1.3 -r1.3.4.1 basesrc/etc/rc.d/cron basesrc/etc/rc.d/dmesg \
    basesrc/etc/rc.d/lkm3 basesrc/etc/rc.d/ntpdate basesrc/etc/rc.d/swap2 \
cvs rdiff -r1.5 -r1.5.4.1 basesrc/etc/rc.d/dhclient
cvs rdiff -r1.4 -r1.4.4.1 basesrc/etc/rc.d/inetd basesrc/etc/rc.d/swap1 \
    basesrc/etc/rc.d/syslogd basesrc/etc/rc.d/xdm
cvs rdiff -r1.2.4.1 -r1.2.4.2 basesrc/etc/rc.d/motd
cvs rdiff -r1.6 -r1.6.2.1 basesrc/etc/rc.d/mountd
cvs rdiff -r1.11.4.3 -r1.11.4.4 basesrc/etc/rc.d/network
cvs rdiff -r1.3 -r1.3.2.1 basesrc/etc/rc.d/rpcbind
cvs rdiff -r0 -r1.5.2.1 basesrc/etc/rc.d/sshd
cvs rdiff -r1.2 -r0 basesrc/etc/rc.d/systemfs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.