Setting tag vsys-scripts-0.95-32
[vsys-scripts.git] / exec / pfmount
index b714b5a..05fc644 100755 (executable)
@@ -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