Module Name: src
Committed By: tsutsui
Date: Sat Dec 17 13:37:50 UTC 2011
Modified Files:
src/distrib/sets/lists/etc: mi
src/etc/mtree: special
src/etc/rc.d: Makefile
src/usr.sbin/postinstall: postinstall
Added Files:
src/etc/rc.d: isibootd
Log Message:
Add an rc.d(8) script for isibootd(8). Taken from ndbootd(8).
To generate a diff of this commit:
cvs rdiff -u -r1.226 -r1.227 src/distrib/sets/lists/etc/mi
cvs rdiff -u -r1.140 -r1.141 src/etc/mtree/special
cvs rdiff -u -r1.86 -r1.87 src/etc/rc.d/Makefile
cvs rdiff -u -r0 -r1.1 src/etc/rc.d/isibootd
cvs rdiff -u -r1.127 -r1.128 src/usr.sbin/postinstall/postinstall
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/etc/mi
diff -u src/distrib/sets/lists/etc/mi:1.226 src/distrib/sets/lists/etc/mi:1.227
--- src/distrib/sets/lists/etc/mi:1.226 Wed Nov 23 10:47:49 2011
+++ src/distrib/sets/lists/etc/mi Sat Dec 17 13:37:49 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.226 2011/11/23 10:47:49 tls Exp $
+# $NetBSD: mi,v 1.227 2011/12/17 13:37:49 tsutsui Exp $
#
# Note: end-user configuration files that are moved to another location
# should not be marked "obsolete"; they should just be removed from
@@ -212,6 +212,7 @@
./etc/rc.d/irdaattach etc-sys-rc
./etc/rc.d/iscsi_target etc-iscsi-rc
./etc/rc.d/isdnd etc-isdn-rc
+./etc/rc.d/isibootd etc-bootserver-rc
./etc/rc.d/kdc etc-krb5-rc
./etc/rc.d/kerberos etc-obsolete obsolete
./etc/rc.d/ldconfig etc-sys-rc
Index: src/etc/mtree/special
diff -u src/etc/mtree/special:1.140 src/etc/mtree/special:1.141
--- src/etc/mtree/special:1.140 Thu Dec 8 01:15:02 2011
+++ src/etc/mtree/special Sat Dec 17 13:37:49 2011
@@ -1,4 +1,4 @@
-# $NetBSD: special,v 1.140 2011/12/08 01:15:02 taca Exp $
+# $NetBSD: special,v 1.141 2011/12/17 13:37:49 tsutsui Exp $
# @(#)special 8.2 (Berkeley) 1/23/94
#
# This file may be overwritten on upgrades.
@@ -217,6 +217,7 @@
./etc/rc.d/irdaattach type=file mode=0555
./etc/rc.d/iscsi_target type=file mode=0555
./etc/rc.d/isdnd type=file mode=0555
+./etc/rc.d/isibootd type=file mode=0555
./etc/rc.d/kdc type=file mode=0555
./etc/rc.d/ldconfig type=file mode=0555
./etc/rc.d/local type=file mode=0555
Index: src/etc/rc.d/Makefile
diff -u src/etc/rc.d/Makefile:1.86 src/etc/rc.d/Makefile:1.87
--- src/etc/rc.d/Makefile:1.86 Wed Nov 23 10:47:48 2011
+++ src/etc/rc.d/Makefile Sat Dec 17 13:37:49 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2011/11/23 10:47:48 tls Exp $
+# $NetBSD: Makefile,v 1.87 2011/12/17 13:37:49 tsutsui Exp $
.include <bsd.own.mk>
@@ -23,7 +23,7 @@ CONFIGFILES=\
gpio \
hostapd httpd \
identd ifwatchd inetd ipfilter ipfs ipmon ipnat ipsec \
- irdaattach iscsi_target isdnd \
+ irdaattach iscsi_target isdnd isibootd \
kdc \
ldconfig ldpd local lpd lvm \
mdnsd mixerctl mopd motd mountall mountcritlocal \
Index: src/usr.sbin/postinstall/postinstall
diff -u src/usr.sbin/postinstall/postinstall:1.127 src/usr.sbin/postinstall/postinstall:1.128
--- src/usr.sbin/postinstall/postinstall:1.127 Sat Nov 26 01:17:17 2011
+++ src/usr.sbin/postinstall/postinstall Sat Dec 17 13:37:49 2011
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.127 2011/11/26 01:17:17 tls Exp $
+# $NetBSD: postinstall,v 1.128 2011/12/17 13:37:49 tsutsui Exp $
#
# Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1140,7 +1140,7 @@ do_rc()
gpio \
hostapd httpd \
identd ifwatchd inetd ipfilter ipfs ipmon ipnat ipsec \
- irdaattach iscsi_target isdnd \
+ irdaattach iscsi_target isdnd isibootd \
kdc \
ldconfig local lpd lvm\
mdnsd mixerctl mopd motd mountall mountcritlocal \
Added files:
Index: src/etc/rc.d/isibootd
diff -u /dev/null src/etc/rc.d/isibootd:1.1
--- /dev/null Sat Dec 17 13:37:50 2011
+++ src/etc/rc.d/isibootd Sat Dec 17 13:37:49 2011
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $NetBSD: isibootd,v 1.1 2011/12/17 13:37:49 tsutsui Exp $
+#
+
+# PROVIDE: isibootd
+# REQUIRE: DAEMON
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="isibootd"
+rcvar=$name
+command="/usr/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="/etc/ethers"
+
+load_rc_config $name
+run_rc_command "$1"