git://git.onelab.eu
/
vsys-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix pfmount script
[vsys-scripts.git]
/
exec
/
pfmount
diff --git
a/exec/pfmount
b/exec/pfmount
index
d94acf1
..
94841ef
100755
(executable)
--- a/
exec/pfmount
+++ b/
exec/pfmount
@@
-2,11
+2,11
@@
# Mount the planetflow directory in a slice
# FIXME: if touch operation failes
# Mount the planetflow directory in a slice
# FIXME: if touch operation failes
-if [ ! -e /etc/vservers/nonamespace ]; then
- touch /etc/vservers/nonamespace
+if [ ! -e /etc/vservers/
$1/
nonamespace ]; then
+ touch /etc/vservers/
$1/
nonamespace
if [ $? -eq 0 ]; then
if [ $? -eq 0 ]; then
- vserver
pl_netflow
stop
- vserver
pl_netflow
start
+ vserver
$1
stop
+ vserver
$1
start
fi
fi
fi
fi