blob: 77541ab0a51b464bdfc7fb7c76a6185f3c098e8f (
plain) (
tree)
|
|
#!/bin/bash
. /etc/openslx
if [ -n "$SLX_NTP_SERVER" ]; then
tsdir="${NEWROOT}/etc/systemd/timesyncd.conf.d"
mkdir -p "$tsdir"
{
echo "[Time]"
echo "NTP=$SLX_NTP_SERVER"
} > "${tsdir}/slx-ntp.conf"
fi
|