Subject: Re: /etc/rc.d/ypset
To: None <tech-userlevel@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-userlevel
Date: 01/15/2003 11:15:26
On Wed, 15 Jan 2003, Martti Kuparinen wrote:
> Index: mi
> ===================================================================
> RCS file: /cvsroot/src/distrib/sets/lists/etc/mi,v
> retrieving revision 1.111
> diff -u -r1.111 mi
> --- mi 2003/01/10 03:17:52 1.111
> +++ mi 2003/01/15 09:04:01
> @@ -163,6 +163,7 @@
> ./etc/rc.d/ypbind etc-nis-rc
> ./etc/rc.d/yppasswdd etc-nis-rc
> ./etc/rc.d/ypserv etc-nis-rc
> +./etc/rc.d/ypset etc-nis-rc
> ./etc/rc.lkm etc-sys-rc
> ./etc/rc.local etc-sys-rc
> ./etc/rc.shutdown etc-sys-rc
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/src/etc/rc.d/Makefile,v
> retrieving revision 1.37
> diff -u -r1.37 Makefile
> --- Makefile 2003/01/10 05:07:45 1.37
> +++ Makefile 2003/01/15 09:04:11
> @@ -22,7 +22,7 @@
> savecore screenblank sendmail securelevel sshd \
> staticroute swap1 swap2 sysdb sysctl syslogd \
> timed tpctl ttys virecover wdogctl wscons wsmoused xdm xfs \
> - ypbind yppasswdd ypserv
> + ypbind yppasswdd ypserv ypset
> FILESDIR= /etc/rc.d
> FILESMODE= ${BINMODE}
I forgot this:
Index: postinstall
===================================================================
RCS file: /cvsroot/src/etc/postinstall,v
retrieving revision 1.45
diff -u -r1.45 postinstall
--- postinstall 2003/01/06 20:30:29 1.45
+++ postinstall 2003/01/15 09:13:50
@@ -377,7 +377,7 @@
screenblank sendmail securelevel sshd swap1 swap2 \
sysdb sysctl syslogd timed ttys virecover \
wdogctl wscons wsmoused \
- xdm xfs ypbind yppasswdd ypserv
+ xdm xfs ypbind yppasswdd ypserv ypset
failed=$(( ${failed} + $? ))
# check for obsolete rc.d files
> #!/bin/sh
> #
> # $NetBSD$
> #
>
> # PROVIDE: ypset
> # REQUIRE: ypbind
>
> . /etc/rc.subr
>
> name="ypset"
> rcvar=$name
> command="/usr/sbin/${name}"
>
> load_rc_config $name
> run_rc_command "$1"
>
Martti
---
Martti Kuparinen <martti.kuparinen@iki.fi> NetBSD - No media hype
http://www.iki.fi/kuparine/ http://www.netbsd.org/