summarylogtreecommitdiffstats
path: root/10-openntpd
AgeCommit message (Collapse)Author
2022-02-09Better support multiple uplinksmynacol
Check internet connectivity before stopping openntpd. This avoids stopping openntpd if some interfaces are still up.
2022-02-09Use /bin/sh instead of bashmynacol
This script is POSIX-compliant, any proper shell can execute it.
2022-02-09Reindent, tabspaces = 4mynacol
2022-02-09Catch if init system is not detectedmynacol
This notifies users and exits with a non-zero exit code.
2022-02-09Combine identical case bodies, de-duplicating codemynacol
2022-02-09Merge "if" in "else" to "elif"mynacol
2022-02-09Fix systemd detectionmynacol
This tests if systemd is init according to official documents: https://www.freedesktop.org/software/systemd/man/sd_booted.html
2020-07-05import from communityJelle van der Waa