diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-02 10:39:51 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-02 10:39:51 +0100 |
commit | 4a954d36788bd5fc68a641b9005dbbf988a5ef7e (patch) | |
tree | 496f5da9f95af8c3d0bd95c4314d76ff26abcc13 /scripts | |
parent | 557c36d169c82e025c633a1f3ef935df40d10784 (diff) |
wireless: call an initial cleanup function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/netifd-wireless.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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" |