From: S.Çağlar Onur Date: Mon, 18 Oct 2010 15:04:40 +0000 (-0400) Subject: remove hardcoded value X-Git-Tag: vsys-scripts-0.95-25~1 X-Git-Url: http://git.onelab.eu/?p=vsys-scripts.git;a=commitdiff_plain;h=20a6b4cccadc5f258eb638aa91ec4b45634f1025 remove hardcoded value --- diff --git a/exec/pfmount b/exec/pfmount index ade3748..b714b5a 100755 --- a/exec/pfmount +++ b/exec/pfmount @@ -8,7 +8,7 @@ if [ $VERSION -ge 27 ]; then # FIXME: ro bind mounts and namespace... mount | grep "on $DEST type" > /dev/null if [ $? -eq 1 ]; then - vnamespace -e pl_netflow -- mount -o bind /var/local/fprobe $DEST + vnamespace -e $1 -- mount -o bind /var/local/fprobe $DEST fi else mount | grep "on $DEST type" > /dev/null