Bug fix
authorSapan Bhatia <gwsapan@gmail.com>
Mon, 21 Feb 2011 18:51:16 +0000 (13:51 -0500)
committerSapan Bhatia <gwsapan@gmail.com>
Mon, 21 Feb 2011 18:51:16 +0000 (13:51 -0500)
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