Age | Commit message (Collapse) | Author | Files | Lines |
|
It is not of much use.
|
|
Also: tag error messages as systemd error messages when the messages are
not directed to the terminal.
|
|
Netctl files can potentially contain passwords or execute code as root.
|
|
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'.
|
|
Profiles now have access to it.
|
|
Substituting "/dev/null/nonexistent" for an empty $Connection,
of course, does generally work, but is somewhat ugly (esp. in that
the string is appended to $CONN_DIR, so the resulting path may
theoretically exist).
Instead, substitute an empty string for the complete path if $Connection
is empty: an empty string can never be readable.
Signed-off-by: Ivan Shapovalov <intelfx100@gmail.com>
|
|
When interpreted as an array, the empty string represents a 1-element
array consisting of the empty string. This is actually very reasonable.
Reported by: Thomas Bächler <thomas@archlinux.org>
|
|
|
|
This allows connection scripts to provide defaults, among other things.
|
|
Old location: /etc/network.d
New location: /etc/netctl
This should ease migration from netcfg and is a better path anyway.
|
|
This settles a style for 'case' statements:
The label and closing colons are indented with two spaces,
The body is indented with two more, totalling four spaces.
|
|
This commit contains the refactoring and rewriting of code.
|
|
This commit contains the moving of files.
|