Source-Changes-HG archive

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

[src/trunk]: src/etc/rc.d Make custom "reload" target work. Before this fix i...



details:   https://anonhg.NetBSD.org/src/rev/e501cc556c5a
branches:  trunk
changeset: 784558:e501cc556c5a
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Feb 01 13:29:33 2013 +0000

description:
Make custom "reload" target work. Before this fix it would have tried
to send a HUP signal to "wpa_supplicant" instead.

diffstat:

 etc/rc.d/wpa_supplicant |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 150dfbaaf7c0 -r e501cc556c5a etc/rc.d/wpa_supplicant
--- a/etc/rc.d/wpa_supplicant   Fri Feb 01 12:53:47 2013 +0000
+++ b/etc/rc.d/wpa_supplicant   Fri Feb 01 13:29:33 2013 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: wpa_supplicant,v 1.3 2009/09/30 18:17:22 apb Exp $
+# $NetBSD: wpa_supplicant,v 1.4 2013/02/01 13:29:33 tron Exp $
 #
 
 # PROVIDE: wpa_supplicant
@@ -20,7 +20,7 @@
 name="wpa_supplicant"
 rcvar=$name
 command="/usr/sbin/wpa_supplicant"
-reload_command="/usr/sbin/wpa_cli reconfigure"
+reload_cmd="/usr/sbin/wpa_cli reconfigure"
 extra_commands="reload"
 
 load_rc_config $name



Home | Main Index | Thread Index | Old Index