|
From: Bruce S. <bl...@us...> - 2005-08-03 19:14:59
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17542 Modified Files: Tag: rel-1-2-patches postfix Log Message: Make JAIL optional in postfix. Index: postfix =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/postfix,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -u -d -r1.4.2.1 -r1.4.2.2 --- postfix 25 Jul 2005 17:15:51 -0000 1.4.2.1 +++ postfix 3 Aug 2005 19:14:51 -0000 1.4.2.2 @@ -46,7 +46,9 @@ case "$1" in start) - /etc/init.d/jail start $PACKAGE_NAME + if [ -f /etc/sysconfig/jail/$PACKAGE_NAME ] && [ "$JAIL_ENABLE" == yes ]; then + /etc/init.d/jail start $PACKAGE_NAME + fi # if a db file does not exist or the corresponding file is # newer than the db file, create the db file |