]> git.ipfire.org Git - people/ms/network.git/commitdiff
batman-adv: Disable hotplug hook
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Sep 2014 09:55:19 +0000 (11:55 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Sep 2014 09:55:19 +0000 (11:55 +0200)
Doesn't work as expected right now and needs to
be rewritten later.

src/hooks/ports/batman-adv

index 27cfd9f374c74cd327fbe6bae2902bac421a036d..418c851c3fc19f725e73e09b3c7b9f18ed0cf53b 100644 (file)
@@ -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}