NetBSD/etc/rc.d
roy d87d6793f0 Add _rtadvd user and group.
Add a chroot dir for the _rtadvd user.
Drop privs to the user _rtadvd after acquiring our socket.
When rc.d/rtadvd starts or reloads, the rtadvd config file is copied
into the chroot before starting or reloading rtadvd itself.
Create a symlink from /var/run/rtadvd.dump to the chroot

Inital idea from OpenBSD patch rtadvd.c r1.36
2013-07-09 09:34:58 +00:00
..
accounting PR/31497: Robert Elz: rc.d/accounting should have KEYWORD: shutdown 2006-10-08 18:08:39 +00:00
altqd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
amd Don't try to shutdown amd(8) gracefully. It seems to cause problems for 2008-02-25 22:12:42 +00:00
apmd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
bluetooth provide a new 'bluetooth' rc.d script, to handle Bluetooth configuration 2011-05-27 09:28:41 +00:00
bootconf.sh add a sync to make it less likely to boot with /etc pointing to nothing after 2012-12-31 23:21:27 +00:00
bootparams Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
ccd Unconfigure on shutdown so that component deivces are closed. 2011-04-05 02:52:27 +00:00
cgd add a cgd_stop function 2010-11-01 14:41:11 +00:00
cleartmp Avoid using glob patterns that might match enough files to give 2012-10-24 21:23:55 +00:00
cron Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
DAEMON
devpubd Create and install an rc.d file for devpubd - a daemon to listen 2011-09-06 21:32:29 +00:00
dhclient Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
dhcpcd Add a hack to fix the dhcpcd rc.d script to work with a single 2013-06-25 13:02:53 +00:00
dhcpd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
dhcrelay Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
DISKS Split fsck during boot into two phases. Check the root file system 2009-04-21 16:08:57 +00:00
dmesg Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
downinterfaces * Use functions from rc.subr, and indent the code. 2009-09-05 16:26:07 +00:00
envsys Only print the message if the command ran successfully. 2007-10-07 05:30:56 +00:00
fccache.in For the sake of consistency with other scripts, output a full stop after the 2012-02-07 10:36:01 +00:00
fsck Exclude root, since that is done in fsck_root. 2010-02-17 23:32:07 +00:00
fsck_root Don't try to fsck root device if "/" is not mentioned in fstab. 2011-09-20 12:13:21 +00:00
ftp_proxy merge yamt-pf42 branch. 2008-06-18 09:06:25 +00:00
ftpd Add command_args="-D" to the ftpd rc.d script. This flag is always needed 2005-08-09 14:59:33 +00:00
gpio Document recent gpio(4) changes and introduce a new config file for GPIO. 2009-07-25 16:20:10 +00:00
hostapd Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
httpd Import rc.d/httpd script for httpd(8) daemon control. 2008-12-11 13:55:16 +00:00
identd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
ifwatchd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
inetd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
ipfilter Add flags to rc.d/ipfilter. Use it from rc.conf like 2009-03-23 18:52:02 +00:00
ipfs Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
ipmon Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
ipnat Use 'load_rc_config_var CMD VAR' to set VAR for "foreign" rc.conf(5) 2004-10-12 14:51:03 +00:00
ipsec if ipsec_flags is given, treat it as an interface name and change @LOCAL_ADDR@ 2013-06-14 16:37:55 +00:00
irdaattach Add a script to start irdaattach on boot. 2006-04-30 15:18:19 +00:00
iscsi_target Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
isdnd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
isibootd Add an rc.d(8) script for isibootd(8). Taken from ndbootd(8). 2011-12-17 13:37:49 +00:00
kdc Ensure kdc starts after syslogd and ntpdate. 2008-01-16 23:58:26 +00:00
ldconfig Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
ldpd add ldpd rc script 2011-01-13 10:55:19 +00:00
local Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
LOGIN
lpd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
lvm Split fsck during boot into two phases. Check the root file system 2009-04-21 16:08:57 +00:00
Makefile try to sync lists of rc.d scripts 2013-05-16 07:37:05 +00:00
makemandb Use new makemandb -Q flag to be really quiet. 2012-08-29 20:34:18 +00:00
mdnsd fix an obvious typo in directory check 2010-01-23 17:44:44 +00:00
mixerctl Ignore comment (starting with #) lines in mixerctl.conf 2007-03-16 22:30:22 +00:00
mopd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
motd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
mountall Add zfs volinit command, suggested by tnn@ this will initialize all zvols 2009-10-18 21:58:37 +00:00
mountcritlocal Use chown now when it's available without /usr mounted. 2011-01-13 22:30:09 +00:00
mountcritremote Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
mountd Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
moused Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
mrouted Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
named PR/47024: Taylor R Campbell: handle "keys" directory and directory 2012-10-01 18:46:43 +00:00
ndbootd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
network don't attempt to create interfaces that exist and don't hide errors. 2013-04-20 18:24:18 +00:00
NETWORKING
newsyslog Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
nfsd Use 'load_rc_config_var CMD VAR' to set VAR for "foreign" rc.conf(5) 2004-10-12 14:51:03 +00:00
nfslocking Use 'load_rc_config_var CMD VAR' to set VAR for "foreign" rc.conf(5) 2004-10-12 14:51:03 +00:00
npf catch up with npfctl moving to /sbin. 2012-11-01 06:06:14 +00:00
ntpd Make sure that ntpd creates a pid file for the rc machinery to work. 2012-12-04 16:38:40 +00:00
ntpdate Explicitly set a BEFORE on ntpd, as this can't run while ntpd is 2009-08-03 18:43:48 +00:00
perusertmp Implement a new magic string for magic symlinks, @ruid, which exapnds to the 2007-12-04 22:09:01 +00:00
pf Allow pf flags to be specified in rc.conf. 2011-11-21 20:56:21 +00:00
pf_boot Add "bootconf" to REQUIRE: lines which had beforenetlkm 2008-11-22 20:23:33 +00:00
pflogd merge yamt-pf42 branch. 2008-06-18 09:06:25 +00:00
postfix un-uppercase pseudodependency for the moment so as not to break pkgsrc 2009-04-15 22:11:32 +00:00
powerd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
ppp Add ppp=YES variable. Currently pppd(8) starts automatically if ppp_peers 2013-01-13 18:47:57 +00:00
pwcheck Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
quota Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
racoon Add the `shutdown' keyword, giving racoon a chance to flush the SAD 2004-12-07 17:37:15 +00:00
raidframe Split fsck during boot into two phases. Check the root file system 2009-04-21 16:08:57 +00:00
raidframeparity Add missing PROVIDE. 2009-04-15 21:33:57 +00:00
random_seed better messages, more quoting. 2012-12-29 22:15:07 +00:00
rarpd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
rbootd Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
rndctl Split fsck during boot into two phases. Check the root file system 2009-04-21 16:08:57 +00:00
root Split fsck during boot into two phases. Check the root file system 2009-04-21 16:08:57 +00:00
route6d Revert previous as it introduces "Circular dependency on provision 2011-08-18 16:46:14 +00:00
routed The "routed" and "route6d" scripts must be run early during system startup 2007-04-21 15:20:07 +00:00
rpcbind Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
rtadvd Add _rtadvd user and group. 2013-07-09 09:34:58 +00:00
rtclocaltime systime() is not needed here - as the man page clearly points out. 2009-04-08 13:29:59 +00:00
rtsold PR 30716: rc.d/ntpd{,ate} precedes rc.d/rtsold. By Ed Hynan. 2006-10-07 21:41:41 +00:00
rwho Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
savecore Check whether a core dump exists before trying to save it. This should 2009-09-14 17:34:56 +00:00
screenblank Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
securelevel Securelevel might not be present, properly complain instead of printing 2009-12-29 17:06:10 +00:00
SERVERS
sshd PR/47540: Felix Deichmann: DSA keys can only be 1024 bits. 2013-02-07 19:32:19 +00:00
staticroute Add the ability for staticroute to evaluate lines from /etc/route.conf 2012-05-02 15:57:15 +00:00
swap1 Adapt /etc/rc.d/swap1 and swap2 scripts to the new meaning of 2009-09-24 16:45:48 +00:00
swap2 Adapt /etc/rc.d/swap1 and swap2 scripts to the new meaning of 2009-09-24 16:45:48 +00:00
sysctl Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
sysdb Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to 2012-06-03 21:42:44 +00:00
syslogd Use load_rc_config basename chrootdirscript in a subshell to determine 2004-10-11 13:29:52 +00:00
timed Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
tpctl Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
ttys Make /etc/rc.d/ttys run after /etc/rc.d/bootconf.sh, 2012-11-10 15:08:36 +00:00
veriexec Some Veriexec stuff that's been rotting in my tree for months. 2007-05-15 19:47:43 +00:00
virecover Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
wdogctl Split fsck during boot into two phases. Check the root file system 2009-04-21 16:08:57 +00:00
wpa_supplicant Make custom "reload" target work. Before this fix it would have tried 2013-02-01 13:29:33 +00:00
wscons Print 'Keyboard encoding -> sg' instead of just 'encoding -> sg' on the 2011-08-09 08:08:10 +00:00
wsmoused Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
xdm.in - Generate xdm and xfs depending on the value of X11FLAVOUR 2008-12-05 18:55:22 +00:00
xfs.in - Generate xdm and xfs depending on the value of X11FLAVOUR 2008-12-05 18:55:22 +00:00
ypbind Use new style command substitution. 2004-10-11 15:00:51 +00:00
yppasswdd Use 'load_rc_config_var CMD VAR' to set VAR for "foreign" rc.conf(5) 2004-10-12 14:51:03 +00:00
ypserv ypserv(8) doesn't need the domainname(1) set -- it will serve any maps 2005-04-01 23:25:29 +00:00