Package Details: netctl-dispatcher-chrony 0.1.1-2

Git Clone URL: https://aur.archlinux.org/netctl-dispatcher-chrony.git (read-only, click to copy)
Package Base: netctl-dispatcher-chrony
Description: A netctl dispatcher script for chrony
Upstream URL: https://github.com/bertptrs/netctl-dispatcher-chrony
Licenses: MIT
Submitter: bertptrs
Maintainer: bertptrs
Last Packager: bertptrs
Votes: 3
Popularity: 0.000001
First Submitted: 2016-12-11 21:27 (UTC)
Last Updated: 2018-11-16 16:04 (UTC)

Latest Comments

soylens commented on 2023-09-11 11:35 (UTC) (edited on 2023-09-11 11:37 (UTC) by soylens)

The current logic of the dispatcher script causes chrony to go online as soon as the loopback device goes up. My suggestions: Either do the same connectedness check before going online as going offline, or blacklist devices like lo from the script. Beware that the result of nmcli g at the time where the dispatcher is running could be connected (site only) instead of connected. Also I would like to point to the possibility of using chronyc onoffline to let chrony decide whether to go on- or offline. However, I'm having trouble with a dispatcher script using onoffline, in that chrony remains offline after my WLAN connects automatically on startup. Using online instead, or connecting only after startup has finished, doesn't pose the problem.

marsoft commented on 2018-11-16 11:43 (UTC) (edited on 2018-11-16 11:44 (UTC) by marsoft)

License file is installed in the wrong location. Please replace: install -D LICENSE "$pkgdir/usr/share/licenses/$pkgdir/LICENSE" with: install -D LICENSE "$pkgdir/usr/share/licenses/LICENSE"