Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d Allow the extra command "reload" to dhcpcd's rc scr...



details:   https://anonhg.NetBSD.org/src/rev/eb8e0921d151
branches:  trunk
changeset: 328543:eb8e0921d151
user:      khorben <khorben%NetBSD.org@localhost>
date:      Sun Apr 06 17:13:57 2014 +0000

description:
Allow the extra command "reload" to dhcpcd's rc script, letting it reload
its configuration and rebind directly via the script.

LGTM roy@

diffstat:

 etc/rc.d/dhcpcd |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 92bb446c85a9 -r eb8e0921d151 etc/rc.d/dhcpcd
--- a/etc/rc.d/dhcpcd   Sun Apr 06 16:42:00 2014 +0000
+++ b/etc/rc.d/dhcpcd   Sun Apr 06 17:13:57 2014 +0000
@@ -9,6 +9,7 @@
 name=dhcpcd
 rcvar=$name
 command=/sbin/$name
+extra_commands="reload"
 
 load_rc_config $name
 



Home | Main Index | Thread Index | Old Index