Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (8h)  netbsd-10 (6d)  netbsd-9 (6d)  netbsd-8 (11d) 

2024-05-23 02:05:28 UTC Now

2009-01-01 00:00:01 UTC MAIN commitmail json YAML

MUHAHAHA, FIRST POST!!!!111!1!!ONE!!1

(also, "welcome to 2009 and don't forget to update copyright notices
        when you add new code" and all that stuff)

(salo)

2008-12-06 23:21:32 UTC MAIN commitmail json YAML

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>

(salo)