We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9e4040 commit 2568932Copy full SHA for 2568932
hooks/50-timesyncd.conf
@@ -1,3 +1,10 @@
1
+if [ ! -d /run/systemd/system ]; then
2
+ return
3
+fi
4
+if [ ! -x /lib/systemd/systemd-timesyncd ]; then
5
6
7
+
8
: ${timesyncd_conf_d:=/run/systemd/timesyncd.conf.d}
9
timesyncd_conf="${timesyncd_conf_d}/dhcpcd-$ifname.conf"
10
timesyncd_tmp_d="$state_dir/timesyncd"
0 commit comments