Package: ipsec-tools Version: 0.7.3-8 Severity: wishlist The check for the existence of the file pointed to by SETKEY_CONF, could preferably be delayed until after the reading of '/etc/default/setkey'. This provides better flexibility for the administrator. The patch is simple enough:
--- ipsec-tools-0.7.3/debian/ipsec-tools.setkey.init.orig +++ ipsec-tools-0.7.3/debian/ipsec-tools.setkey.init @@ -14,13 +14,13 @@ SETKEY_CONF_DIR=/etc/ipsec-tools.d NAME=setkey -test -x $SETKEY -a -f $SETKEY_CONF || exit 0 - RUN_SETKEY="yes" if [ -f /etc/default/setkey ] ; then . /etc/default/setkey fi +test -x $SETKEY -a -f $SETKEY_CONF || exit 0 + if [ $RUN_SETKEY != "yes" ] ; then exit 0 fi Regards, Mats Erik Andersson, fil. dr
signature.asc
Description: Digital signature