A script repository to manage connections in Linux.
git clone git://
Log | Files | Refs | LICENSE

commit 4e29fd495c22fdbb0c1ad261cbcea2e63bcdaac6
parent d732ba6ebbb47e3590438431c92b38103798f274
Author: Christoph Lohmann <>
Date:   Mon, 30 Jul 2012 16:41:52 +0200

Better description of the networks.tbl.

examples/wifi/ | 18+++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/examples/wifi/ b/examples/wifi/ @@ -3,10 +3,26 @@ 1. starts wpa-supplicant and wpa-cli. 2. wpa-cli runs $ on an event. 3. $ greps in networks.tbl for the ssid of the - relevant network and calls the given script. + relevant network and calls the given script. (See the networks.tbl + section) 4. The script networks/$script is run and gets the interface and the changed state as argument. +## networks.tbl + +This file describes what script to call on which ESSID. It has the form of + + scriptname<TAB>SSID + +The file "scriptname" will be called in the directory "networks" on +connect and disconnect. + +On connect or disconnect the scripts are called this way: + + scriptname $interface $status + +$status can be of the valued "CONNECTED" or "DISCONNECTED". + ## WPA Supplicant The configuration file for wpa-supplicant is given in conn/;