From 670f0f477e85a9470b82bfd1f69be2765520d3df Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 6 Sep 2014 11:55:19 +0200 Subject: [PATCH] batman-adv: Disable hotplug hook Doesn't work as expected right now and needs to be rewritten later. --- src/hooks/ports/batman-adv | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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} -- 2.39.5