git://git.onelab.eu
/
vsys.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Built in 'flood protection'. In a fairly unlikely scenario, a slice could bombard...
[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