summaryrefslogtreecommitdiffstats
path: root/src/lib/globals
AgeCommit message (Collapse)AuthorFilesLines
2013-05-17Properly check existence of a connection type.Ivan Shapovalov1-1/+1
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>
2013-05-06Improve array handlingJouke Witteveen1-1/+1
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>
2013-03-24Nitpicking on a return valueJouke Witteveen1-1/+1
2013-03-22More possibilities for connection scriptsJouke Witteveen1-0/+1
This allows connection scripts to provide defaults, among other things.
2013-02-05Move the location for profilesJouke Witteveen1-1/+1
Old location: /etc/network.d New location: /etc/netctl This should ease migration from netcfg and is a better path anyway.
2013-01-03Indentation fixesJouke Witteveen1-5/+5
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.
2012-12-28Forking netcfg to netctl (2/2)Jouke Witteveen1-87/+72
This commit contains the refactoring and rewriting of code.
2012-12-28Forking netcfg to netctl (1/2)Jouke Witteveen1-0/+136
This commit contains the moving of files.