- 13 May, 2021 1 commit
-
-
Jouke Witteveen authored
Hooks and interface scripts are now sourced more systematically. Settings of wireless profiles that depend on hooks are now picked up correctly by netctl-auto. Suggested by: Vitor Sakaguti <vis@tutao.de>
-
- 17 Jan, 2021 1 commit
-
-
Jouke Witteveen authored
The name of the subcommand mirrors the same subcommand of systemd-analyze. Verification before restarting would be useful. However, verification requires the profile file to be readable by the current user. The current user may be a regular user with permission to control systemd, so restarting does not require the profile file to be readable. Therefore, we do not attempt verification before restarting.
-
- 26 Jun, 2020 1 commit
-
-
When you call `netctl list`, it calls `systemctl status` for each of the profiles. By default, `systemctl status` fetches the last log entries from the journal, which is often a time-consuming operation. Additionally, the status output is not meant for machine processing.
-
- 02 Aug, 2018 1 commit
-
-
Jouke Witteveen authored
Inside double quotes, backslash is an escape character. Hence, it is cleaner to use single quotes where backslashes may occur. This includes pattern strings for print, grep, and sed.
-
- 29 Jul, 2018 1 commit
-
-
Jouke Witteveen authored
This also allows hooks to alter the profile to be loaded.
-
- 23 Jun, 2018 1 commit
-
-
Jouke Witteveen authored
Hooks can now tell the command to be executed by looking at $Command. The value will be "start", "stop", or "" (undefined), depending on the reason a profile is being sourced.
-
- 08 Oct, 2017 2 commits
-
-
Jouke Witteveen authored
This covers some corner cases where, for instance, IFS does not contain whitespace characters.
-
Jouke Witteveen authored
Reported by Michaël Cadilhac <michael@cadilhac.name>
-
- 14 Mar, 2017 2 commits
-
-
Jouke Witteveen authored
-
Jouke Witteveen authored
-
- 30 Nov, 2016 1 commit
-
-
Jouke Witteveen authored
The netctl@ service now yields before obtaining an IP address. This prevents holding up network.target unnecessarily. Waiting for profiles to obtain an IP address is possible through 1) The netctl-wait-online service This service waits until all enabled profiles have obtained an address. It is ordered before network-online.target so that this target is now correctly implemented in netctl. 2) The wait-online <PROFILE> subcommand to netctl This command waits for a started profile to obtain an address.
-
- 23 Nov, 2016 1 commit
-
-
Jouke Witteveen authored
-
- 28 Sep, 2016 1 commit
-
-
Jouke Witteveen authored
-
- 17 Jun, 2014 1 commit
-
-
Jouke Witteveen authored
Some things should not be run with the restrictive umask. This provides a means to do so: do_readable.
-
- 25 Feb, 2014 1 commit
-
-
Jouke Witteveen authored
It is not of much use.
-
- 23 Oct, 2013 1 commit
-
-
Jouke Witteveen authored
Also: tag error messages as systemd error messages when the messages are not directed to the terminal.
-
- 22 Oct, 2013 1 commit
-
-
Jouke Witteveen authored
Netctl files can potentially contain passwords or execute code as root.
-
- 24 Jul, 2013 1 commit
-
-
Jouke Witteveen authored
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'.
-
- 04 Jun, 2013 1 commit
-
-
Jouke Witteveen authored
Profiles now have access to it.
-
- 17 May, 2013 1 commit
-
-
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>
-
- 06 May, 2013 1 commit
-
-
Jouke Witteveen authored
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>
-
- 24 Mar, 2013 1 commit
-
-
Jouke Witteveen authored
-
- 22 Mar, 2013 1 commit
-
-
Jouke Witteveen authored
This allows connection scripts to provide defaults, among other things.
-
- 05 Feb, 2013 1 commit
-
-
Jouke Witteveen authored
Old location: /etc/network.d New location: /etc/netctl This should ease migration from netcfg and is a better path anyway.
-
- 03 Jan, 2013 1 commit
-
-
Jouke Witteveen authored
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.
-
- 28 Dec, 2012 2 commits
-
-
Jouke Witteveen authored
This commit contains the refactoring and rewriting of code.
-
Jouke Witteveen authored
This commit contains the moving of files.
-
- 03 Jul, 2012 2 commits
-
-
Jouke Witteveen authored
quirk() is not used anymore, inarray() doesn't belong in src/network.
-
-
- 21 Jun, 2012 2 commits
-
-
Jouke Witteveen authored
This should fix FS#30361 along the way.
-
Jouke Witteveen authored
After this change, a profile started by a previous version of netcfg can potentially not be brought down anymore. This only concerns the updating process. Running `netcfg clean` should make everything OK again (potentially leaving your network down, but you can now bring up profiles again).
-
- 11 Apr, 2012 1 commit
-
-
Jouke Witteveen authored
/etc/rc.d/functions is owned by initscripts on which netcfg does not explicitly depend. The revised layout is inspired by systemd.
-
- 10 Apr, 2012 1 commit
-
-
Jouke Witteveen authored
Add spaces where necessary.
-
- 27 Mar, 2012 1 commit
-
-
Jouke Witteveen authored
It needs to be quoted when used as an argument. Putting the name in curly braces is unnecessary.
-
- 21 Mar, 2012 1 commit
-
-
Jouke Witteveen authored
Bash completion does not deal properly with profile filenames that contain whitespace. There are some minor tweaks in this commit as well, but those should be harmless.
-
- 11 Jun, 2011 1 commit
-
-
Rémy Oudompheng authored
-
- 14 Sep, 2009 3 commits
-
-
Jim Pryor authored
Signed-off-by:
Jim Pryor <profjim@jimpryor.net>
-
Jim Pryor authored
Signed-off-by:
Jim Pryor <profjim@jimpryor.net>
-
Jim Pryor authored
* added various quotes * made some vars local * tweaked some [[ ]]s, including one broken one in netcfg-menu * s/ra0/$INTERFACE/ in ethernet-iproute and wireless Signed-off-by:
Jim Pryor <profjim@jimpryor.net>
-
- 07 Sep, 2009 1 commit
-
-
James Rayner authored
Added some extra debug points Directed debug out to stderr, as debug messages were being used as output from find_essid.
-