add task to kill systemd-timesyncd and enable chrony
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 3 seconds

....otherwise DietPi has issues if we ever want to use dietpi-software 
it seems
This commit is contained in:
Starbeamrainbowlabs 2022-06-24 02:57:00 +01:00
parent 548588e069
commit 5a5309e23a
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 14 additions and 0 deletions

3
src/steps-config/100-chrony.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
queue_apt_install "chrony";

View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
task_begin "Stopping systemd-timesyncd";
systemctl stop systemd-timesyncd
systemctl disable systemd-timesyncd
systemctl mask systemd-timesyncd
task_end 0;
task_begin "Starting and enabling chrony";
systemctl enable --now chrony
task_end "$?";