You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per Debian bug, it would be desirable to start the timesyncd hook with something that checks for the presence of timesyncd and, if NOT found, immediately exits the hook.
Debian's dhclient exit hook might provide a good starting point:
if [ ! -d /run/systemd/system ]; then
return
fi
if [ ! -x /lib/systemd/systemd-timesyncd ]; then
return
fi
The text was updated successfully, but these errors were encountered:
perkelix
changed the title
check for presence of systemd before running the exit hook.
check for systemd before running the timesyncd exit hook.
Nov 2, 2024
perkelix
added a commit
to perkelix/dhcpcd
that referenced
this issue
Nov 13, 2024
As per Debian bug, it would be desirable to start the timesyncd hook with something that checks for the presence of timesyncd and, if NOT found, immediately exits the hook.
Debian's dhclient exit hook might provide a good starting point:
The text was updated successfully, but these errors were encountered: