tech-userlevel archive

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

Small wpa_supplicant rc.d script improvement

Hi all,

The attached patch teaches the wpa_supplicant rc.d script how to
reload the wpa configuration.  This makes adding new networks managed
by wpa_supplicant a little more convenient and more consistent with
other daemons started from /etc/rc.d.

"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth
Index: wpa_supplicant
RCS file: /cvsroot/src/etc/rc.d/wpa_supplicant,v
retrieving revision 1.1
diff -u -r1.1 wpa_supplicant
--- wpa_supplicant      7 Oct 2006 20:52:52 -0000       1.1
+++ wpa_supplicant      9 Nov 2008 16:02:53 -0000
@@ -12,6 +12,8 @@
+reload_command="/usr/sbin/wpa_cli reconfigure"
 load_rc_config $name
 run_rc_command "$1"

Attachment: pgpkcSCxTAa_s.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index