Update vpnmon.sh
This commit is contained in:
@@ -25,7 +25,7 @@ START(){
|
||||
[ "${ROUTE2}" != "" ] && ip route add ${ROUTE2} via $(ip address show dev ppp0 | grep -Po '(?<=peer )(\b([0-9]{1,3}\.){3}[0-9]{1,3}\b)') dev ppp0
|
||||
|
||||
if [ "${SYSTEM}" = "unifipoller" ]; then
|
||||
/usr/sbin/service unifi-poller start
|
||||
/usr/sbin/service unifi-poller start &
|
||||
#elif [ "${SYSTEM}" = "rpicam" ]; then
|
||||
#/usr/sbin/service rpisurv restart
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user