Scripts in /usr/local/etc/rc.d/ should accept 'start' *and* 'stop', not

one or the other.

Approved by:	murray
This commit is contained in:
Ceri Davies 2002-04-28 20:49:41 +00:00
parent 8c427a40b4
commit 662ddb1d4b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12895

View file

@ -600,7 +600,7 @@ postmaster@example.com postmaster@noc.example.net
<filename>/usr/local/etc/rc.d/</filename> that
ends in <filename>.sh</filename> and is executable by
root. The script should also accept the parameters 'start'
or 'stop'. So that you could, for example, execute
and 'stop'. So that you could, for example, execute
<filename>/usr/local/etc/rc.d/supermailer.sh start</filename>
or <filename>/usr/local/etc/rc.d/supermailer.sh stop</filename>.
The system will call your script using 'start' when the it