mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-12-22 23:08:55 +00:00
style(script) format with shfmt
This commit is contained in:
parent
3b2c84b94d
commit
29980e6bef
@ -1228,7 +1228,7 @@ function removeOpenVPN() {
|
|||||||
# SELinux
|
# SELinux
|
||||||
if hash sestatus 2>/dev/null; then
|
if hash sestatus 2>/dev/null; then
|
||||||
if sestatus | grep "Current mode" | grep -qs "enforcing"; then
|
if sestatus | grep "Current mode" | grep -qs "enforcing"; then
|
||||||
if [[ "$PORT" != '1194' ]]; then
|
if [[ $PORT != '1194' ]]; then
|
||||||
semanage port -d -t openvpn_port_t -p "$PROTOCOL" "$PORT"
|
semanage port -d -t openvpn_port_t -p "$PROTOCOL" "$PORT"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user