diff --git a/defaults.inc b/defaults.inc index 3bea775..d59fc4f 100755 --- a/defaults.inc +++ b/defaults.inc @@ -23,4 +23,6 @@ if [[ $(/sbin/ip -o -4 addr list ens160 | awk '{print $4}' | cut -d/ -f1) == *"1 else VPN_START=(/bin/systemctl start openvpn) VPN_STOP=(/bin/systemctl stop openvpn) -fi \ No newline at end of file +fi + +echo "HERE: ${VPN_START} - ${VPN_INTERFACE}" \ No newline at end of file diff --git a/mm-scripts.sh b/mm-scripts.sh index ef86f32..301e361 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -26,7 +26,7 @@ MMSTART(){ if [ "${action}" = "start" ]; then mmsv='Starting' echo -e "${idsCL[Green]}Starting System... ${idsCL[Default]}" - "${VPN_START[@]}" + #"${VPN_START[@]}" elif [ "${action}" = "stop" ]; then mmsv='Stopping' echo -e "${idsCL[Green]}Stopping System... ${idsCL[Default]}" @@ -71,7 +71,7 @@ MMSTART(){ echo -e "${idsCL[Green]} done${idsCL[Default]}" echo -en "${idsCL[LightCyan]}${mmsv} Services... ${idsCL[Default]}" for srvc in "${SERVICES_CHECK[@]}"; do - /bin/systemctl start ${srvc} + #/bin/systemctl start ${srvc} done echo -e "${idsCL[Green]} done${idsCL[Default]}" if [ "${action}" == "start" ]; then