Browse Source

chg: [host] only install ``ntp`` if not using ``systemd-timesyncd``

pull/31/head
Valentin Lab 1 year ago
parent
commit
b3343573e8
  1. 5
      precise/host/hooks/install.d/38-ntp.sh

5
precise/host/hooks/install.d/38-ntp.sh

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
apt-get install ntp -y </dev/null
if ! [ -e /lib/systemd/systemd-timesyncd ]; then
apt-get install ntp -y </dev/null
fi
Loading…
Cancel
Save