File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4117,6 +4117,7 @@ _EntwareServicesHandler_()
41174117 if [ $# -eq 0 ] || [ -z " $1 " ] ; then return 1 ; fi
41184118 local AllowVPN=" $( Get_Custom_Setting Allow_Updates_OverVPN) "
41194119
4120+ local actionStr=" "
41204121 local serviceStr serviceCnt=0
41214122 local entwOPT_init entwOPT_unslung
41224123 # space-delimited list #
@@ -4142,7 +4143,13 @@ _EntwareServicesHandler_()
41424143 done
41434144 return 0
41444145 }
4145-
4146+
4147+ case " $1 " in
4148+ stop) actionStr=" Stopping" ;;
4149+ start) actionStr=" Restarting" ;;
4150+ * ) return 1 ;;
4151+ esac
4152+
41464153 if [ ! -x /opt/bin/opkg ] || [ ! -x " $entwOPT_unslung " ]
41474154 then return 0 ; fi # # Entware is NOT found ##
41484155
@@ -4739,7 +4746,7 @@ Please manually update to version $minimum_supported_version or higher to use th
47394746 then
47404747 # Diversion unmount command also unloads entware services #
47414748 Say " Stopping Diversion service..."
4742- /opt/bin/diversion unmount > /dev/null
4749+ /opt/bin/diversion unmount &
47434750 sleep 5
47444751 fi
47454752 fi
You can’t perform that action at this time.
0 commit comments