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:
parent
9195d3d64d
commit
a4fe4d0406
1 changed files with 0 additions and 2 deletions
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
||||||
|
|
||||||
is_nat_set() {
|
is_nat_set() {
|
||||||
local gateway_interface=${1}
|
local gateway_interface=${1}
|
||||||
iptables -w -nvt nat -L POSTROUTING | grep MASQUERADE | grep -q "${gateway_interface}"
|
iptables -w -nvt nat -L POSTROUTING | grep MASQUERADE | grep -q "${gateway_interface}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue