diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-01-14 23:16:00 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-01-14 23:16:00 +0000 |
commit | 58189f49fe1813db16ea33089679168e28c19ebe (patch) | |
tree | 7000105d27f659f35772aadb361214ce5e83fabe /mn_MN.UTF-8/books | |
parent | 09d84b2924dd1b2b5bdb12ac4e77d204ec101cd2 (diff) | |
download | doc-58189f49fe1813db16ea33089679168e28c19ebe.tar.gz doc-58189f49fe1813db16ea33089679168e28c19ebe.zip |
Remove references to set_rcvar, which has been removed from 10-current.
While I'm here, bring some consistency to the various example rc.d scripts,
remove some bad examples, etc.
Notes
Notes:
svn path=/head/; revision=38233
Diffstat (limited to 'mn_MN.UTF-8/books')
-rw-r--r-- | mn_MN.UTF-8/books/handbook/config/chapter.sgml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mn_MN.UTF-8/books/handbook/config/chapter.sgml b/mn_MN.UTF-8/books/handbook/config/chapter.sgml index f2f4820c06..8980d46529 100644 --- a/mn_MN.UTF-8/books/handbook/config/chapter.sgml +++ b/mn_MN.UTF-8/books/handbook/config/chapter.sgml @@ -367,8 +367,9 @@ ifconfig_fxp0="inet 10.1.1.1/8"</programlisting></listitem> . /etc/rc.subr -name="utility" -rcvar=`set_rcvar` +name=utility +rcvar=utility_enable + command="/usr/local/sbin/utility" load_rc_config $name @@ -378,9 +379,7 @@ load_rc_config $name # SET THEM IN THE /etc/rc.conf FILE # utility_enable=${utility_enable-"NO"} -utility_pidfile=${utility_pidfile-"/var/run/utility.pid"} - -pidfile="${utility_pidfile}" +pidfile=${utility_pidfile-"/var/run/utility.pid"} run_rc_command "$1"</programlisting> |