NetBSD/etc
salo 74bbb8ef72 A very old patch sitting in my tree..
When rc scripts are started from interactive shell, be nice and when user
tries to start an unconfigured service, point him to rc.conf(5) and tell
him about the one* keyword.  Also be more user friendly when an unknown
argument is entered.

Example:

 # /etc/rc.d/cron start
 $cron is not enabled - see rc.conf(5).
 Use the following if you wish to perform the operation:
   /etc/rc.d/cron onestart

 # /etc/rc.d/cron nonsense
 /etc/rc.d/cron: unknown directive 'nonsense'.
 Usage: /etc/rc.d/cron [fast|force|one](start stop restart rcvar  status poll)


Inspired by discussion on tech-userlevel:

 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0010.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0011.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0012.html

Reminded about it and reviewed by <lukem>
2008-12-06 23:21:32 +00:00
..
atf .include <bsd.own.mk> early, otherwise the .PATH doesn't always work. 2007-12-20 16:53:59 +00:00
bluetooth some changes to serial bluetooth host controller interfaces 2008-04-15 11:17:47 +00:00
defaults Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
etc.acorn26 Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.acorn32 Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.algor Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.alpha Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.amd64 Now that the installation floppies are including tmpfs as well, stop 2008-11-04 14:25:10 +00:00
etc.amiga Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.amigappc Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.arc Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.atari The NetBSD/atari installer can use md2a as a root device, so ensure the 2008-11-08 22:34:57 +00:00
etc.bebox Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.cats Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.cesfic Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.cobalt Create USB devices on all_md target. 2008-11-12 15:57:29 +00:00
etc.dreamcast Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.evbarm add GEMINI to EVBARM_BOARDS list 2008-10-30 15:41:33 +00:00
etc.evbmips Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.evbppc Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.evbsh3 Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.ews4800mips Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.hp300 Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.hp700 Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.hpcarm Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.hpcmips Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.hpcsh Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.i386 Now that the installation floppies are including tmpfs as well, stop 2008-11-04 14:25:10 +00:00
etc.ibmnws Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.iyonix Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.landisk Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.luna68k Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.mac68k Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.macppc Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.mipsco Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.mmeye Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.mvme68k Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.mvmeppc Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.netwinder Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.news68k Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.newsmips Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.next68k Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.ofppc Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.playstation2 Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.pmax Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.prep Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.sandpoint Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.sbmips Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.sgimips Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands. 2008-10-19 22:05:19 +00:00
etc.shark Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.sparc Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.sparc64 Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.sun2 Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.sun3 Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.vax Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.x68k Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
etc.zaurus Add a constty entry, marked 'off', with otherwise the same settings 2008-10-07 10:00:00 +00:00
iscsi add support for MKISCSI=no. 2006-06-24 05:14:01 +00:00
mtree Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
namedb Use official file from "ftp.internic.net". 2008-02-05 09:19:06 +00:00
pam.d Add pam_skey so that we get behaviour similar to "pre PAM". 2008-03-26 11:31:17 +00:00
powerd Enclose the ifconfig commands in $(...) so they actually do something. 2008-08-22 11:18:21 +00:00
rc.d - Generate xdm and xfs depending on the value of X11FLAVOUR 2008-12-05 18:55:22 +00:00
root Sprinkle /usr/X11R7 where relevant. rc.d/x{fs,dm} are left to be done. 2008-11-19 18:07:19 +00:00
skel Sprinkle /usr/X11R7 where relevant. rc.d/x{fs,dm} are left to be done. 2008-11-19 18:07:19 +00:00
ssh Remove key for "tgm.netbsd.org". The machine was put out of service when 2006-09-26 21:57:06 +00:00
MAKEDEV.awk Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
MAKEDEV.local Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
MAKEDEV.tmpl Change the formula for tmpfs size. The per-inode memory usage is 2008-11-28 16:04:31 +00:00
Makefile Let the build descend in rc.d during "build" and not just use it for 2008-12-05 18:52:59 +00:00
aliases s/msgs/msgs(1)/ in a comment. From PR 39167. 2008-07-18 21:12:03 +00:00
audit-packages.conf Add a default audit-packages configuration file for audit-packages 2007-07-14 19:53:52 +00:00
bootptab
changelist
crontab
csh.cshrc
csh.login
csh.logout
daily Add a run_fsck_flags variable to daily.conf(5), allowing extra flags to 2008-08-30 10:53:22 +00:00
daily.conf
disktab
dm.conf
envsys.conf Fixup the rfact for the -12V sensor in the Gigabyte P35C-DS3R 2008-04-26 13:02:35 +00:00
floppytab
ftpchroot
ftpusers
gettytab
group Add httpd to the build. Add _httpd to passwd and groups and postinstall. 2007-10-16 02:47:12 +00:00
hosts
hosts.equiv
hosts.lpd
inetd.conf Add httpd to the build. Add _httpd to passwd and groups and postinstall. 2007-10-16 02:47:12 +00:00
locate.conf
login.conf Sprinkle /usr/X11R7 where relevant. rc.d/x{fs,dm} are left to be done. 2008-11-19 18:07:19 +00:00
mailer.conf
man.conf Also search /usr/X11R7, and do it before X11R6 2008-11-17 01:31:35 +00:00
master.passwd Add httpd to the build. Add _httpd to passwd and groups and postinstall. 2007-10-16 02:47:12 +00:00
minfree
mkttys
monthly Use "mktemp -d -t xxx" to create the temporary directories. This will use 2007-06-06 13:30:47 +00:00
monthly.conf
motd
motd.beta Properly capitalize NetBSD in URLs. 2007-08-30 15:56:34 +00:00
motd.current Properly capitalize NetBSD in URLs. 2007-08-30 15:56:34 +00:00
motd.rc Properly capitalize NetBSD in URLs. 2007-08-30 15:56:34 +00:00
motd.stable Properly capitalize NetBSD in URLs. 2007-08-30 15:56:34 +00:00
mrouted.conf
named.conf The default named.conf should not contain a query-source statement. 2008-07-23 05:47:48 +00:00
netconfig
networks
newsyslog.conf Remove last traces of /var/log/aculog 2006-09-18 22:39:37 +00:00
nsswitch.conf
ntp.conf Fix typo/mispelling in comment. 2007-02-10 19:36:56 +00:00
passwd.conf
phones
printcap ascii -> ASCII 2008-09-04 18:22:47 +00:00
profile
protocols Add RCS Id. 2008-11-30 08:49:25 +00:00
rbootd.conf
rc
rc.conf
rc.local make the example more generic, and include a test 2008-06-11 17:14:52 +00:00
rc.shutdown
rc.subr A very old patch sitting in my tree.. 2008-12-06 23:21:32 +00:00
remote
rpc Add sgi_fam, one less thing that has to be done when one wants to run 2008-05-17 21:37:09 +00:00
security Handle non-trivial NIS compat entries (like +joe:::::::::) in the password 2007-11-23 15:51:27 +00:00
security.conf
services sync with IANA 2007-06-23 18:15:28 +00:00
shells
shrc /etc/shrc is used by both sh and ksh, but ksh doesn't support 2006-10-07 22:50:51 +00:00
sysctl.conf
syslog.conf
weekly Use "mktemp -d -t xxx" to create the temporary directories. This will use 2007-06-06 13:30:47 +00:00
weekly.conf
wscons.conf The wscons.conf syntax is assuming all arguments on their own fields. 2008-07-03 11:19:34 +00:00