diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2013-07-25 00:22:25 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-07-25 00:22:25 +0200 |
commit | 0f7688962fdadc7b72bdd81f719473e55608205c (patch) | |
tree | 28e19d543758bc1d224da454240ba88f995dc915 /src/lib/connections/tunnel | |
parent | 906c6daa8a1ab95b3e169b09a925816ebce4831c (diff) | |
download | netctl-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/connections/tunnel')
0 files changed, 0 insertions, 0 deletions