Skip to content

Commit

Permalink
Update the /etc scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Nov 6, 2023
1 parent 699e898 commit a598819
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/networkd-dispatcher/routable.d/ntpd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
/usr/bin/systemctl restart ntp
10 changes: 10 additions & 0 deletions upgrade/80/upgrade.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a598819

Please sign in to comment.