Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

ntpd install #43

Open
target-drone opened this issue Feb 1, 2020 · 0 comments
Open

ntpd install #43

target-drone opened this issue Feb 1, 2020 · 0 comments

Comments

@target-drone
Copy link

Adding ntpd is a great idea, but some of us already use chrony.
Can add a detection to setup.sh so it doesn't replace it:

setup.sh, line 141

required_packages="build-essential debhelper python python3-dev socat"
    if [ $(dpkg-query -W -f='${Status}' chronyc 2>/dev/null | grep -c "ok installed") -eq 0 ];
    then
        required_packages="${required_packages} chronyc"
    else
        required_packages="${required_packages} ntp"
    fi

cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant