Update defaults.inc
This commit is contained in:
10
defaults.inc
10
defaults.inc
@@ -13,6 +13,10 @@ NM_SERVICES['qbittorrent']='qBittorrent (Torrent Downloader)'
|
||||
NM_SERVICES['snap.tautulli.tautulli']='Tautulli (Plex Stats)'
|
||||
NM_SERVICES['ombi']='Ombi (Download Requester)'
|
||||
|
||||
|
||||
VPN_START='/bin/systemctl start openvpn'
|
||||
VPN_STOP='/bin/systemctl stop openvpn'
|
||||
if [[ $(/sbin/ip -o -4 addr list ens160 | awk '{print $4}' | cut -d/ -f1) == *"10.10.1.24"* ]]; then
|
||||
VPN_START='/usr/bin/nordvpn connect'
|
||||
VPN_STOP='/usr/bin/nordvpn disconnect'
|
||||
else
|
||||
VPN_START='/bin/systemctl start openvpn'
|
||||
VPN_STOP='/bin/systemctl stop openvpn'
|
||||
fi
|
||||
Reference in New Issue
Block a user