Load the legacy tun module if the first attempt doesn't work out.
[vsys-scripts.git] / exec / 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