From: Sapan Bhatia Date: Mon, 21 Feb 2011 18:51:16 +0000 (-0500) Subject: Bug fix X-Git-Tag: vsys-scripts-0.95-28~1 X-Git-Url: http://git.onelab.eu/?p=vsys-scripts.git;a=commitdiff_plain;h=40b23cbb7f3874914d7cb3e617766d054f081204 Bug fix --- diff --git a/exec/pfmount b/exec/pfmount index b714b5a..05fc644 100755 --- a/exec/pfmount +++ b/exec/pfmount @@ -1,7 +1,7 @@ #!/bin/sh # Mount the planetflow directory in a slice -VERSION=`uname -r | awk -F"." '{print $3}'` +VERSION=`uname -r | awk -F"-" '{print $1;}' | awk -F"." '{print $3}'` DEST="/vservers/$1/pf" if [ $VERSION -ge 27 ]; then