forked from extern/shorewall_code
Remove some sillyness from the fallback script
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@302 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
55069fda99
commit
05071ca692
@ -49,9 +49,7 @@ restore_file() # $1 = file to restore
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -f /usr/lib/shorewall/version-${VERSION}.bkout -a \
|
if [ ! -f /usr/lib/shorewall/version-${VERSION}.bkout ]; then
|
||||||
! -f /var/lib/shorewall/version-${VERSION}.bkout -a \
|
|
||||||
! -f /etc/shorewall/version-${VERSION}.bkout ]; then
|
|
||||||
echo "Shorewall Version $VERSION is not installed"
|
echo "Shorewall Version $VERSION is not installed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user