[package] 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 94f220e..3356e08 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=