From: Michael Tremer Date: Sun, 23 Sep 2012 19:22:46 +0000 (+0000) Subject: dummy: Actually bring up the port. X-Git-Tag: 005~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ed44a232956148a3b15f9bcf8710dc734d8190e;p=network.git dummy: Actually bring up the port. --- diff --git a/hooks/ports/dummy b/hooks/ports/dummy index ff430c0a..bfd0e506 100755 --- a/hooks/ports/dummy +++ b/hooks/ports/dummy @@ -90,6 +90,9 @@ function _up() { dummy_create ${port} "${ADDRESS}" fi + # Bring up the port. + device_set_up ${port} + exit ${EXIT_OK} } @@ -101,6 +104,10 @@ function _down() { exit ${EXIT_OK} fi + # Tear down the port. + device_set_down ${port} + + # Remove the dummy port. dummy_remove ${port} exit ${EXIT_OK}