|
From: Heiko Z. <smi...@us...> - 2005-05-11 20:01:43
|
Update of /cvsroot/devil-linux/build/config/etc/init.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9309 Modified Files: Tag: rel-1-2-patches jail Log Message: we need to use the full path name Index: jail =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/init.d/jail,v retrieving revision 1.27.2.4 retrieving revision 1.27.2.5 diff -u -d -r1.27.2.4 -r1.27.2.5 --- jail 11 May 2005 01:29:47 -0000 1.27.2.4 +++ jail 11 May 2005 20:01:33 -0000 1.27.2.5 @@ -34,6 +34,10 @@ NODELETE= fi +if [ "$JAILDIR" == "." ]; then + JAILDIR=$(pwd) +fi + if [ ! -z "$(grep "^NODELETE" $JAIL_DEF )" ]; then NODELETE=1 fi |