broadcom-wl: properly detach nas by using start-stop-daemon to launch it
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 21 Jan 2010 20:53:05 +0000 (20:53 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 21 Jan 2010 20:53:05 +0000 (20:53 +0000)
SVN-Revision: 19257

package/broadcom-wl/files/lib/wifi/broadcom.sh

index 94f220e0a16e15b9d9eb607246048e6241e78088..3356e08db472f26ef76372ddac280a47f817d8c7 100644 (file)
@@ -132,6 +132,7 @@ enable_broadcom() {
 
        _c=0
        nas="$(which nas)"
+       [ -n "$nas" ] && nas="start-stop-daemon -S -b -x $nas -- "
        nas_cmd=
        if_up=