projects
/
grml-network.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b9a9d3
)
grml-addtun: tun/tap interfaces should be initialised also
author
Michael Gebetsroither
<michael.geb@gmx.at>
Thu, 4 Oct 2007 16:34:32 +0000
(18:34 +0200)
committer
Michael Gebetsroither
<michael.geb@gmx.at>
Thu, 4 Oct 2007 16:34:32 +0000
(18:34 +0200)
sbin/grml-addtun
patch
|
blob
|
history
diff --git
a/sbin/grml-addtun
b/sbin/grml-addtun
index
ac7d6a4
..
765b53a
100755
(executable)
--- a/
sbin/grml-addtun
+++ b/
sbin/grml-addtun
@@
-58,10
+58,12
@@
function createTun()
if [[ $OPT_BRIDGE_ != '' ]]; then
brctl addif "$OPT_BRIDGE_" "$1"
fi
+ ifconfig "$1" 0.0.0.0 up
}
function trashTun()
{
+ ifconfig "$1" down
if [[ $OPT_BRIDGE_ != '' ]]; then
brctl delif "$OPT_BRIDGE_" "$1"
fi