diff --git a/copy_gateway-config.sh b/copy_gateway-config.sh index df24534..2cf13be 100755 --- a/copy_gateway-config.sh +++ b/copy_gateway-config.sh @@ -46,9 +46,31 @@ exit [ $# -ne "1" ] && usage "wrong number of arguments" + +case $1 in + CKUBU) + network=$1 + _igmproxy=true + _add_support_if=true + ;; + NONE-CKUBU|NONE-WF) + network=$1 + _igmproxy=false + _add_support_if=false + ;; + 123|AK|AKB|ANW-URB|ANW-KM|B3-Bornim|FLR-BRB|GA-AL|GA-Ersatz|GA-NH|GA-Schloss|JONAS|Kanzlei-Kiel|MBR|OOLM|OPP|ReachOut|SPR-BE|WF) + network=$1 + _igmproxy=false + _add_support_if=true + ;; + *) + usage + exit 1 +esac + _realpath=`which realpath` if [ -z "$_realpath" ]; then - usage "realpath is not installed but neeeded" + usage "realpath is not installed but needed." fi filesystem_prefix=""