1. 17 Jan, 2021 1 commit
    • Jouke Witteveen's avatar
      Add verify subcommand to netctl · 9b70046f
      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.
  2. 26 Jun, 2020 1 commit
    • Семён Марьясин's avatar
      Speed up 'netctl list' · b34f51a1
      Семён Марьясин authored and Jouke Witteveen's avatar Jouke Witteveen committed
      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.
  3. 02 Aug, 2018 1 commit
  4. 29 Jul, 2018 1 commit
  5. 23 Jun, 2018 1 commit
    • Jouke Witteveen's avatar
      Improved handling of exposed variables · 8c873b49
      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.
  6. 08 Oct, 2017 2 commits
  7. 14 Mar, 2017 2 commits
  8. 30 Nov, 2016 1 commit
    • Jouke Witteveen's avatar
      Distinguish between network{,-online}.target (FS#50476) · e43a8221
      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.
  9. 23 Nov, 2016 1 commit
  10. 28 Sep, 2016 1 commit
  11. 17 Jun, 2014 1 commit
  12. 25 Feb, 2014 1 commit
  13. 23 Oct, 2013 1 commit
    • Jouke Witteveen's avatar
      beautify error output · 2f1ef4d9
      Jouke Witteveen authored
      Also: tag error messages as systemd error messages when the messages are
      not directed to the terminal.
  14. 22 Oct, 2013 1 commit
  15. 24 Jul, 2013 1 commit
    • Jouke Witteveen's avatar
      Make netctl-auto more hook friendly · 0f768896
      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'.
  16. 04 Jun, 2013 1 commit
  17. 17 May, 2013 1 commit
  18. 06 May, 2013 1 commit
    • Jouke Witteveen's avatar
      Improve array handling · 711c4645
      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>
  19. 24 Mar, 2013 1 commit
  20. 22 Mar, 2013 1 commit
  21. 05 Feb, 2013 1 commit
  22. 03 Jan, 2013 1 commit
    • Jouke Witteveen's avatar
      Indentation fixes · 6539dfe0
      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.
  23. 28 Dec, 2012 2 commits
  24. 03 Jul, 2012 2 commits
  25. 21 Jun, 2012 2 commits
    • Jouke Witteveen's avatar
      Introduce polling timeout logic · 5ac724b8
      Jouke Witteveen authored
      This should fix FS#30361 along the way.
    • Jouke Witteveen's avatar
      Minor improvements · 4e034777
      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).
  26. 11 Apr, 2012 1 commit
  27. 10 Apr, 2012 1 commit
  28. 27 Mar, 2012 1 commit
  29. 21 Mar, 2012 1 commit
    • Jouke Witteveen's avatar
      Revised bash completion · 2a7aa9d9
      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.
  30. 11 Jun, 2011 1 commit
  31. 14 Sep, 2009 3 commits
  32. 07 Sep, 2009 2 commits