From 5c89f20784ad69a8a1af2ba3960bb6383ad2123d Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 14 Jan 2006 18:55:25 +0000 Subject: [PATCH] Fix bug in generated script without -e git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3284 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall/firewall b/Shorewall/firewall index 89ad8138b..60ea400f5 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -9136,6 +9136,8 @@ if [ -n "$EXPORT" ]; then else cat >> $RESTOREBASE << __EOF__ +. /usr/share/shorewall/functions + if [ ! -f /usr/share/shorewall/version ] || [ \$(cat /usr/share/shorewall/version) != $VERSION ]; then error_message "This script requires Shorewall version $VERSION" exit 2