From 90f5abb02e39ccaa462f9754fc87eab5e393d0c6 Mon Sep 17 00:00:00 2001 From: aus Date: Tue, 26 Feb 2019 08:37:24 -0600 Subject: [PATCH] fix for .sh suffix in 5268AC workaround --- bin/pfatt.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/pfatt.sh b/bin/pfatt.sh index 3c55f28..9f593c3 100755 --- a/bin/pfatt.sh +++ b/bin/pfatt.sh @@ -125,16 +125,16 @@ if [ "$EAP_MODE" = "bridge" ] ; then if [ "$EAP_BRIDGE_5268AC" = "1" ] ; then # install proper rc script - /bin/cp /conf/pfatt/bin/pfatt-5268AC.rc /usr/local/etc/rc.d/pfatt-5268AC + /bin/cp /conf/pfatt/bin/pfatt-5268AC.rc /usr/local/etc/rc.d/pfatt-5268AC.sh # kill any existing pfatt-5268AC process PID=$(pgrep -f "pfatt-5268AC") if [ ${PID} > 0 ]; then /usr/bin/logger -st "pfatt" "terminating existing pfatt-5268AC on PID ${PID}..." RES=$(kill ${PID}) - /usr/local/etc/rc.d/pfatt-5268AC stop + /usr/local/etc/rc.d/pfatt-5268AC.sh stop fi /usr/bin/logger -st "pfatt" "enabling 5268AC workaround..." - /usr/local/etc/rc.d/pfatt-5268AC start + /usr/local/etc/rc.d/pfatt-5268AC.sh start fi /usr/bin/logger -st "pfatt" "ngeth0 should now be available to configure as your WAN..." /usr/bin/logger -st "pfatt" "done!"