[PATCH] Specifying alternative file for devd(8)
Joseph Koshy
joseph.koshy at gmail.com
Thu Nov 24 06:49:48 PST 2005
wk> Sorry and thanks for the explanation. Updated patch:
wk> http://freebsd.czest.pl/dunstan/FreeBSD/diff.2.devd
I've committed this patch with a few changes:
- getopt's args and the cases in the switch statement
were ordered alphabetically.
- the manual page was tweaked (since I was there)
- the following change is unnecessary. "${name}_flags" is
automatically used by rcNG.
--- /usr/src/etc/rc.d/devd Fri Oct 28 18:55:38 2005
+++ src/etc/rc.d/devd Sun Nov 20 18:15:07 2005
@@ -13,6 +13,7 @@
name="devd"
rcvar=`set_rcvar`
command="/sbin/${name}"
+command_args="${devd_flags}"
Also, 'devd_flags' is set by the invocation of
load_rc_config further down, so this change is
actually a no-op.
Thank you for sending in the patch.
--
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
More information about the freebsd-current
mailing list