1. 13 May, 2021 1 commit
    • Jouke Witteveen's avatar
      More uniform profile loading and filtering · 8773d7f0
      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>
      8773d7f0
  2. 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.
      9b70046f
  3. 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.
      b34f51a1
  4. 02 Aug, 2018 1 commit
  5. 29 Jul, 2018 1 commit
  6. 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.
      8c873b49
  7. 08 Oct, 2017 2 commits
  8. 14 Mar, 2017 2 commits
  9. 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.
      e43a8221
  10. 23 Nov, 2016 1 commit
  11. 28 Sep, 2016 1 commit
  12. 17 Jun, 2014 1 commit
  13. 25 Feb, 2014 1 commit
  14. 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.
      2f1ef4d9
  15. 22 Oct, 2013 1 commit
  16. 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'.
      0f768896
  17. 04 Jun, 2013 1 commit
  18. 17 May, 2013 1 commit
  19. 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>
      711c4645
  20. 24 Mar, 2013 1 commit
  21. 22 Mar, 2013 1 commit
  22. 05 Feb, 2013 1 commit
  23. 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.
      6539dfe0
  24. 28 Dec, 2012 2 commits
  25. 03 Jul, 2012 2 commits
  26. 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.
      5ac724b8
    • 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).
      4e034777
  27. 11 Apr, 2012 1 commit
  28. 10 Apr, 2012 1 commit
  29. 27 Mar, 2012 1 commit
  30. 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.
      2a7aa9d9
  31. 11 Jun, 2011 1 commit
  32. 14 Sep, 2009 3 commits
  33. 07 Sep, 2009 1 commit
    • James Rayner's avatar
      Added initial rfkill support · d8b7ce43
      James Rayner authored
       Added some extra debug points
       Directed debug out to stderr, as debug messages were being used as
      output from find_essid.
      d8b7ce43