diff options
Diffstat (limited to 'ip.sh')
-rwxr-xr-x | ip.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#! /bin/bash + +name=$(uname -n | cut -d '.' -f 1) +[ -f "ip/$name.sh" ] || { echo "Host $name not configured"; exit 1; } + +systemctl stop firewalld + +ip/$name.sh |