From 2d92e84cd0cbb71ccd2599f263237dfb5e7f5f82 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 8 Mar 2006 02:54:13 +0000 Subject: [PATCH] fix hanging wireless config reload in webif, close #353 SVN-Revision: 3334 --- openwrt/package/webif/files/usr/lib/webif/apply.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openwrt/package/webif/files/usr/lib/webif/apply.sh b/openwrt/package/webif/files/usr/lib/webif/apply.sh index 31d6ae3217..d8d8467352 100644 --- a/openwrt/package/webif/files/usr/lib/webif/apply.sh +++ b/openwrt/package/webif/files/usr/lib/webif/apply.sh @@ -35,8 +35,10 @@ reload_network() { reload_wireless() { echo '@TR<> @TR<> ...' killall nas >&- 2>&- && sleep 2 - /sbin/wifi - [ -f /etc/init.d/S41wpa ] && /etc/init.d/S41wpa + ( + /sbin/wifi + [ -f /etc/init.d/S41wpa ] && /etc/init.d/S41wpa + ) >&- 2>&- <&- } reload_system() { -- 2.30.2