diff --git a/etc/networkd-dispatcher/routable.d/ntpd b/etc/networkd-dispatcher/routable.d/ntpd new file mode 100755 index 000000000..79d2cf248 --- /dev/null +++ b/etc/networkd-dispatcher/routable.d/ntpd @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/systemctl restart ntp diff --git a/upgrade/80/upgrade.sh b/upgrade/80/upgrade.sh new file mode 100755 index 000000000..43e0d8aef --- /dev/null +++ b/upgrade/80/upgrade.sh @@ -0,0 +1,10 @@ +#!/bin/bash +##################################### + +BINDIR=$(cd $(dirname $0) && pwd) +. ${BINDIR}/../../scripts/common + +if [ ! -f /etc/fpp/desktop ]; then + # recopy the latest connect scripts + cp -af /opt/fpp/etc/networkd-dispatcher/routable.d/* /etc/networkd-dispatcher/routable.d +fi