From: Michael Tremer Date: Sat, 6 Sep 2014 09:55:19 +0000 (+0200) Subject: batman-adv: Disable hotplug hook X-Git-Tag: 007~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670f0f477e85a9470b82bfd1f69be2765520d3df;p=network.git batman-adv: Disable hotplug hook Doesn't work as expected right now and needs to be rewritten later. --- diff --git a/src/hooks/ports/batman-adv b/src/hooks/ports/batman-adv index 27cfd9f3..418c851c 100644 --- a/src/hooks/ports/batman-adv +++ b/src/hooks/ports/batman-adv @@ -134,18 +134,18 @@ function hook_down() { exit ${EXIT_OK} } -function hook_hotplug() { - local port=${1} - assert isset port - - local phy=${2} - assert isset phy - - # Bring up the device. - port_up "${port}" - - exit ${EXIT_OK} -} +#function hook_hotplug() { +# local port=${1} +# assert isset port +# +# local phy=${2} +# assert isset phy +# +# # Bring up the device. +# port_up "${port}" +# +# exit ${EXIT_OK} +#} function hook_status() { local port=${1}