summaryrefslogtreecommitdiffstats
path: root/src/lib/ip
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-07-25 00:22:25 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2013-07-25 00:22:25 +0200
commit0f7688962fdadc7b72bdd81f719473e55608205c (patch)
tree28e19d543758bc1d224da454240ba88f995dc915 /src/lib/ip
parent906c6daa8a1ab95b3e169b09a925816ebce4831c (diff)
downloadnetctl-0f7688962fdadc7b72bdd81f719473e55608205c.tar.gz
netctl-0f7688962fdadc7b72bdd81f719473e55608205c.tar.xz
Make netctl-auto more hook friendly
The hooks (including any interface hook) are loaded each time a wpa event occurs. This means the auto.action script can be extended in the hooks. For this purpose, several exported variables (mainly $ACTION) can be checked for their value. The name of the active profile is not exported, but still available (just as in ordinary netctl usage) through the $Profile variable. Profiles ending in .action are disallowed (reserved for possible future use). Both ifplugd and wpa_actiond have a notion of 'action script'.
Diffstat (limited to 'src/lib/ip')
0 files changed, 0 insertions, 0 deletions