1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

remove export PATH variable as it will be provided by run-parts script

This commit is contained in:
HgO 2023-11-20 17:22:17 +01:00
parent 9195d3d64d
commit a4fe4d0406

View file

@ -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}"