Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add an rc.d(8) script for isibootd(8). Taken from ndbootd(8).
details: https://anonhg.NetBSD.org/src/rev/9574d4bc26fc
branches: trunk
changeset: 772082:9574d4bc26fc
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Dec 17 13:37:49 2011 +0000
description:
Add an rc.d(8) script for isibootd(8). Taken from ndbootd(8).
diffstat:
distrib/sets/lists/etc/mi | 3 ++-
etc/mtree/special | 3 ++-
etc/rc.d/Makefile | 4 ++--
etc/rc.d/isibootd | 18 ++++++++++++++++++
usr.sbin/postinstall/postinstall | 4 ++--
5 files changed, 26 insertions(+), 6 deletions(-)
diffs (94 lines):
diff -r 85c46ebe7dba -r 9574d4bc26fc distrib/sets/lists/etc/mi
--- a/distrib/sets/lists/etc/mi Sat Dec 17 13:29:50 2011 +0000
+++ b/distrib/sets/lists/etc/mi Sat Dec 17 13:37:49 2011 +0000
@@ -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
diff -r 85c46ebe7dba -r 9574d4bc26fc etc/mtree/special
--- a/etc/mtree/special Sat Dec 17 13:29:50 2011 +0000
+++ b/etc/mtree/special Sat Dec 17 13:37:49 2011 +0000
@@ -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
diff -r 85c46ebe7dba -r 9574d4bc26fc etc/rc.d/Makefile
--- a/etc/rc.d/Makefile Sat Dec 17 13:29:50 2011 +0000
+++ b/etc/rc.d/Makefile Sat Dec 17 13:37:49 2011 +0000
@@ -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 @@
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 \
diff -r 85c46ebe7dba -r 9574d4bc26fc etc/rc.d/isibootd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/rc.d/isibootd Sat Dec 17 13:37:49 2011 +0000
@@ -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"
diff -r 85c46ebe7dba -r 9574d4bc26fc usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall Sat Dec 17 13:29:50 2011 +0000
+++ b/usr.sbin/postinstall/postinstall Sat Dec 17 13:37:49 2011 +0000
@@ -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 @@
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 \
Home |
Main Index |
Thread Index |
Old Index