diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-09-19 16:49:20 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-09-19 16:49:20 +0200 |
commit | b3096929e693dac907842c1d8134ea09876c6fcf (patch) | |
tree | 61434f6636699a40b7e7745894ad69c1b9a6beaf | |
parent | 088438fe6643dce4195e52452fe995c2608b0a48 (diff) | |
download | mlx-b3096929e693dac907842c1d8134ea09876c6fcf.tar.gz mlx-b3096929e693dac907842c1d8134ea09876c6fcf.tar.bz2 mlx-b3096929e693dac907842c1d8134ea09876c6fcf.tar.xz mlx-b3096929e693dac907842c1d8134ea09876c6fcf.zip |
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 |