From 0da448bf13830e3192edae13b4b7dc82ed87b8d8 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Mon, 3 May 2010 20:07:54 +0000 Subject: [PATCH] Updated the download location for broadcom's file that contains firmware. Also added an echo, to confirm the success of installing all firmwares. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36597 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- data/bin/install-wifi-firmwares.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/bin/install-wifi-firmwares.sh b/data/bin/install-wifi-firmwares.sh index 964da9a0e1..ebf6462267 100755 --- a/data/bin/install-wifi-firmwares.sh +++ b/data/bin/install-wifi-firmwares.sh @@ -77,6 +77,7 @@ function InstallAllFirmwares() InstallIprowifi2200 InstallBroadcom43xx InstallMarvell88w8335 + echo "All firmwares successfully installed." } @@ -315,13 +316,15 @@ function CutAndInstallBroadcomFirmware() { # Download firmware. local file="wl_apsta-3.130.20.0.o" + local dir="${firmwareDir}/${driver}" local url='http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o' - DownloadFileIfNotCached $url $file $tempDir + DownloadFileIfNotCached $url $file $dir if [ $result -gt 0 ]; then return $result fi # Cut firmware in pieces. + cp "$dir/$file" "$tempDir" cd "$tempDir" b43-fwcutter $file > /dev/null 2>&1