Update mm-scripts.sh

This commit is contained in:
2023-03-22 20:19:21 -05:00
parent e115266340
commit c5644586a1

View File

@@ -57,7 +57,7 @@ MMSTART(){
if [ ${GOFORSTART} = true ]; then
mmsv='Starting'
echo
OUT=$(/usr/bin/wg link | grep "${VPN_INTERFACE}")
OUT=$(/sbin/ip link | grep "${VPN_INTERFACE}")
if [ ${#OUT} = 0 ]; then
echo -en "${idsCL[LightCyan]}Setting up the VPN Tunnel config :${idsCL[Default]}"
privkey=$(/usr/bin/wg genkey)