diff --git a/copy_gateway-config.sh b/copy_gateway-config.sh index 38ac2cb..cf9ca00 100755 --- a/copy_gateway-config.sh +++ b/copy_gateway-config.sh @@ -58,8 +58,15 @@ _network=$1 homedir_user=`eval realpath ~$user` _dir=${_network}-config + + +# - Delete existing Backup directory, to avoid having old (unused) files from +# - earlier configurations +# +rm -rf ${homedir_user}/${_dir} mkdir -p ${homedir_user}/${_dir} + # - Nameserver Bind # - /etc/bind/* # -