diff options
l--------- | ip | 2 | ||||
-rwxr-xr-x | ip-hzdr/CELSIUS-R940power.sh | 5 | ||||
-rwxr-xr-x | ip.sh | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1 +1 @@ -ip-p2p
\ No newline at end of file +ip-hzdr
\ No newline at end of file diff --git a/ip-hzdr/CELSIUS-R940power.sh b/ip-hzdr/CELSIUS-R940power.sh new file mode 100755 index 0000000..0b99cc2 --- /dev/null +++ b/ip-hzdr/CELSIUS-R940power.sh @@ -0,0 +1,5 @@ +. functions.sh + +mlxconf eth + +ipset ens4 10.0.0.100 @@ -3,6 +3,6 @@ name=$(uname -n | cut -d '.' -f 1) [ -f "ip/$name.sh" ] || { echo "Host $name not configured"; exit 1; } -systemctl stop firewalld +[ -f "/usr/bin/firewall-cmd" ] && systemctl stop firewalld ip/$name.sh |