Remove temporary directory at completion of 'add' and 'delete' commands

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@541 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-04-18 03:09:51 +00:00
parent bfa33d2714
commit 99cb231761

View File

@ -4111,6 +4111,8 @@ add_to_zone() # $1 = <interface>[:<hosts>] $2 = zone
fi
done < ${STATEDIR}/chains
rm -rf $TMP_DIR
echo "$1 added to zone $2"
}
@ -4232,6 +4234,8 @@ delete_from_zone() # $1 = <interface>[:<hosts>] $2 = zone
fi
done < ${STATEDIR}/chains
rm -rf $TMP_DIR
echo "$1 removed from zone $2"
}