Added cgd rc.d script and put it in the appropriate postinstall and
mtree files.
This commit is contained in:
parent
86d2054739
commit
98839fb386
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: mi,v 1.356 2002/10/06 17:28:47 thorpej Exp $
|
||||
# $NetBSD: mi,v 1.357 2002/10/09 14:55:53 elric Exp $
|
||||
. base-sys-root
|
||||
./altroot base-sys-root
|
||||
./bin base-sys-root
|
||||
|
@ -43,6 +43,7 @@
|
|||
./dev/fd base-sys-root
|
||||
./dev/log base-sys-root
|
||||
./etc base-sys-root
|
||||
./etc/cgd base-sys-root
|
||||
./etc/defaults base-sys-root
|
||||
./etc/kerberosIV base-krb4-root
|
||||
./etc/kerberosV base-krb5-root
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: mi,v 1.108 2002/10/05 15:24:43 grant Exp $
|
||||
# $NetBSD: mi,v 1.109 2002/10/09 14:55:53 elric Exp $
|
||||
./.cshrc etc-util-etc
|
||||
./.profile etc-util-etc
|
||||
./dev/MAKEDEV.local etc-sys-etc
|
||||
|
@ -81,6 +81,7 @@
|
|||
./etc/rc.d/bootconf.sh etc-sys-rc
|
||||
./etc/rc.d/bootparams etc-bootserver-rc
|
||||
./etc/rc.d/ccd etc-sys-rc
|
||||
./etc/rc.d/cgd etc-sys-rc
|
||||
./etc/rc.d/cleartmp etc-sys-rc
|
||||
./etc/rc.d/cron etc-cron-rc
|
||||
./etc/rc.d/dhclient etc-dhclient-rc
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: NetBSD.dist,v 1.203 2002/09/25 01:07:42 wiz Exp $
|
||||
# $NetBSD: NetBSD.dist,v 1.204 2002/10/09 14:55:54 elric Exp $
|
||||
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
|
||||
|
||||
/set type=dir uname=root gname=wheel mode=0755
|
||||
|
@ -10,6 +10,7 @@
|
|||
./dev/altq
|
||||
./dev/fd
|
||||
./etc
|
||||
./etc/cgd mode=0700
|
||||
./etc/defaults
|
||||
./etc/kerberosIV
|
||||
./etc/kerberosV
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: special,v 1.65 2002/09/16 02:36:53 perry Exp $
|
||||
# $NetBSD: special,v 1.66 2002/10/09 14:55:54 elric Exp $
|
||||
# @(#)special 8.2 (Berkeley) 1/23/94
|
||||
#
|
||||
# Hand-crafted mtree specification for the dangerous files.
|
||||
|
@ -27,6 +27,8 @@
|
|||
./etc/bootparams type=file mode=0644 optional
|
||||
./etc/bootptab type=file mode=0644 optional
|
||||
./etc/ccd.conf type=file mode=0644 optional
|
||||
./etc/cgd type=dir mode=0700 optional
|
||||
./etc/cgd/cgd.conf type=file mode=0600 optional
|
||||
./etc/changelist type=file mode=0644
|
||||
./etc/crontab type=file mode=0644 optional
|
||||
./etc/csh.cshrc type=file mode=0644
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: postinstall,v 1.32 2002/09/20 12:57:33 christos Exp $
|
||||
# $NetBSD: postinstall,v 1.33 2002/10/09 14:55:54 elric Exp $
|
||||
#
|
||||
# Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -342,7 +342,7 @@ do_rc()
|
|||
|
||||
compare_dir ${op} ${SRC_DIR}/etc/rc.d ${DEST_DIR}/etc/rc.d 555 \
|
||||
DAEMON LOGIN NETWORKING SERVERS accounting altqd amd \
|
||||
apmd bootparams bootconf.sh ccd cleartmp cron \
|
||||
apmd bootparams bootconf.sh ccd cgd cleartmp cron \
|
||||
dhclient dhcpd dhcrelay dmesg downinterfaces fsck \
|
||||
ifwatchd inetd ipfilter ipfs ipmon ipnat ipsec isdnd \
|
||||
kdc ldconfig lkm1 lkm2 lkm3 local lpd mopd motd \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.34 2002/09/03 15:35:54 abs Exp $
|
||||
# $NetBSD: Makefile,v 1.35 2002/10/09 14:55:54 elric Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
FILES= DAEMON LOGIN NETWORKING SERVERS \
|
||||
accounting altqd amd apmd \
|
||||
bootparams bootconf.sh ccd cleartmp cron \
|
||||
bootparams bootconf.sh ccd cgd cleartmp cron \
|
||||
dhclient dhcpd dhcrelay dmesg downinterfaces fsck \
|
||||
ifwatchd inetd ipfilter ipfs ipmon ipnat ipsec isdnd kdc \
|
||||
ldconfig lkm1 lkm2 lkm3 local lpd \
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: cgd,v 1.1 2002/10/09 14:55:55 elric Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: disks
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="cgd"
|
||||
start_cmd="cgd_start"
|
||||
stop_cmd=":"
|
||||
|
||||
cgd_start()
|
||||
{
|
||||
if [ -f /etc/cgd/cgd.conf ]; then
|
||||
echo "Configuring CGD devices."
|
||||
cgdconfig -C
|
||||
fi
|
||||
}
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
Loading…
Reference in New Issue