merged with 0.26.90
[util-vserver.git] / util-vserver / scripts / vserver-setup.functions
index 71a105f..97c3a2a 100644 (file)
@@ -33,7 +33,7 @@ declare -r SETUP_HELPMSG=$"
     --lockfile <filename>
                ...  [default: $RUNDIR/<name>]
     --lockrevdir <dirname>
-               ...  [default: $RUNDIR/rev/]
+               ...  [default: $CONFDIR/.defaults/run.rev]
     --hostname <hostname>
     --netdev   <device>
     --netbcast <broadcast>
@@ -123,7 +123,7 @@ function setup_setDefaults
 {
     : ${SETUP_CONFDIR:=$CONFDIR/$1}
     : ${SETUP_LOCKFILE:=$RUNDIR/$1}
-    : ${SETUP_LOCKREVDIR:=$RUNDIR/rev}
+    : ${SETUP_LOCKREVDIR:=$CONFDIR/.defaults/run.rev}
 }
 
 function setup_writeOption