From 4a954d36788bd5fc68a641b9005dbbf988a5ef7e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 2 Dec 2013 10:39:51 +0100 Subject: [PATCH] wireless: call an initial cleanup function Signed-off-by: Felix Fietkau --- scripts/netifd-wireless.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh index e26cea5..7ae3695 100644 --- a/scripts/netifd-wireless.sh +++ b/scripts/netifd-wireless.sh @@ -297,6 +297,8 @@ init_wireless_driver() { case "$cmd" in dump) add_driver() { + eval "drv_$1_cleanup" + json_init json_add_string name "$1" -- 2.25.1