From a4fe4d040633c78fa8f7c8c4776c05851f845062 Mon Sep 17 00:00:00 2001 From: HgO Date: Mon, 20 Nov 2023 17:22:17 +0100 Subject: [PATCH] remove export PATH variable as it will be provided by run-parts script --- conf/openvpn_90-hotspot | 2 -- 1 file changed, 2 deletions(-) diff --git a/conf/openvpn_90-hotspot b/conf/openvpn_90-hotspot index 547a630..1fbc11c 100644 --- a/conf/openvpn_90-hotspot +++ b/conf/openvpn_90-hotspot @@ -1,7 +1,5 @@ #!/bin/bash -export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" - is_nat_set() { local gateway_interface=${1} iptables -w -nvt nat -L POSTROUTING | grep MASQUERADE | grep -q "${gateway_interface}"