projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7d3940e
)
Merge lost hunk
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 12 May 2011 11:44:55 +0000 (13:44 +0200)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 12 May 2011 11:44:55 +0000 (13:44 +0200)
scripts/vserver.functions
patch
|
blob
|
history
diff --git
a/scripts/vserver.functions
b/scripts/vserver.functions
index
d35a4fe
..
a10344d
100644
(file)
--- a/
scripts/vserver.functions
+++ b/
scripts/vserver.functions
@@
-762,7
+762,11
@@
function disableInterfaces
IP_ADDR_FLUSH) ;;
IP_LINK) ;; ## Ignore the link-down command for now
IP_ROUTE) $_IP route del "$@";;
- TUNCTL) $_TUNCTL --~persist "$1";;
+ TUNCTL)
+ local dev="$1"
+ shift
+ $_TUNCTL --~persist "$@" "$dev"
+ ;;
*) echo "Unknown interface-command type '$type'" >&2; false;;
esac
done