MOunt pf data read-only. Now we can give other people access to it.
[vsys.git] / factory / pfmount
1 #!/bin/sh
2 # Mount the planetflow directory in a slice
3
4 #mount --bind /usr/local/fprobe /vservers/$1/pf
5 # changed from request of Faiyaz
6 DEST="/vservers/$1/pf"
7 mount | grep "on $DEST type" > /dev/null
8 if [ $? -eq 1 ]; then
9     mount --bind /var/local/fprobe -o ro $DEST
10 fi