Add informative message.

This commit is contained in:
Eduard Tolosa 2023-04-16 00:15:59 +00:00 committed by GitHub
parent d0734de5c0
commit f53ced3004
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,7 @@ case "$1" in
echo "$RULES does not exist. Not doing anything." echo "$RULES does not exist. Not doing anything."
exit exit
else else
echo "Restoring previous rules from $RULES..."
iptables -t nat -F iptables -t nat -F
iptables-restore < $RULES iptables-restore < $RULES
rm $RULES rm $RULES