Skip to content

Commit

Permalink
Copy the new tether enable/disable things
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Oct 17, 2024
1 parent 9473652 commit 86231bc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 3 additions & 2 deletions SD/FPP_Install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#############################################################################
FPPBRANCH=${FPPBRANCH:-"master"}
FPPIMAGEVER="2024-10"
FPPCFGVER="89"
FPPCFGVER="90"
FPPPLATFORM="UNKNOWN"
FPPDIR=/opt/fpp
FPPUSER=fpp
Expand Down Expand Up @@ -1446,7 +1446,8 @@ if [ "$FPPPLATFORM" == "BeagleBone Black" ]; then
fi
cp /opt/fpp/etc/avahi/* /etc/avahi/services
if $isimage; then
cp /opt/fpp/etc/networkd-dispatcher/routable.d/* /etc/networkd-dispatcher/routable.d
mkdir -p /etc/networkd-dispatcher/initialized.d
cp -a /opt/fpp/etc/networkd-dispatcher/* /etc/networkd-dispatcher
fi

systemctl disable mosquitto
Expand Down
1 change: 0 additions & 1 deletion etc/networkd-dispatcher/initialized.d/fpptether
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/bin/sh
env >> /tmp/env.txt
/opt/fpp/src/fppinit checkForTether $IFACE &
11 changes: 11 additions & 0 deletions upgrade/90/upgrade.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
#####################################

BINDIR=$(cd $(dirname $0) && pwd)
. ${BINDIR}/../../scripts/common

if [ ! -f /etc/fpp/desktop ]; then
# recopy the latest connect scripts
mkdir -p /etc/networkd-dispatcher/initialized.d
cp -af /opt/fpp/etc/networkd-dispatcher/* /etc/networkd-dispatcher
fi

0 comments on commit 86231bc

Please sign in to comment.