Update mm-scripts.sh
This commit is contained in:
@@ -57,7 +57,7 @@ MMSTART(){
|
|||||||
if [ ${GOFORSTART} = true ]; then
|
if [ ${GOFORSTART} = true ]; then
|
||||||
mmsv='Starting'
|
mmsv='Starting'
|
||||||
echo
|
echo
|
||||||
OUT=$(/usr/bin/wg link | grep "${VPN_INTERFACE}")
|
OUT=$(/sbin/ip link | grep "${VPN_INTERFACE}")
|
||||||
if [ ${#OUT} = 0 ]; then
|
if [ ${#OUT} = 0 ]; then
|
||||||
echo -en "${idsCL[LightCyan]}Setting up the VPN Tunnel config :${idsCL[Default]}"
|
echo -en "${idsCL[LightCyan]}Setting up the VPN Tunnel config :${idsCL[Default]}"
|
||||||
privkey=$(/usr/bin/wg genkey)
|
privkey=$(/usr/bin/wg genkey)
|
||||||
|
|||||||
Reference in New Issue
Block a user