From: Sapan Bhatia Date: Tue, 20 Mar 2012 15:23:54 +0000 (-0400) Subject: Dont use namespaces for pl_netflow slice X-Git-Tag: vsys-scripts-0.95-36~1 X-Git-Url: http://git.onelab.eu/?p=vsys-scripts.git;a=commitdiff_plain;h=21ca13d9d52ee58f435417e9d68489003bd7b79a Dont use namespaces for pl_netflow slice --- diff --git a/exec/pfmount b/exec/pfmount index 05fc644..56b660e 100755 --- a/exec/pfmount +++ b/exec/pfmount @@ -1,6 +1,15 @@ #!/bin/sh # Mount the planetflow directory in a slice +# FIXME: if touch operation failes +if [ ! -e /etc/vservers/nonamespace ]; then + touch /etc/vservers/nonamespace + if [ $? -eq 0 ]; then + vserver pl_netflow stop + vserver pl_netflow start + fi +fi + VERSION=`uname -r | awk -F"-" '{print $1;}' | awk -F"." '{print $3}'` DEST="/vservers/$1/pf"