From 21ca13d9d52ee58f435417e9d68489003bd7b79a Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Tue, 20 Mar 2012 11:23:54 -0400 Subject: [PATCH] Dont use namespaces for pl_netflow slice --- exec/pfmount | 9 +++++++++ 1 file changed, 9 insertions(+) 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" -- 2.43.0