wok rev 1892
get-wifi-firmware: add rt73
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 19 16:38:04 2008 +0000 (2008-12-19) |
parents | bc8f5b69f71c |
children | e7355177f438 |
files | get-wifi-firmware/receipt get-wifi-firmware/stuff/get-wifi-firmware |
line diff
1.1 --- a/get-wifi-firmware/receipt Thu Dec 18 15:09:25 2008 +0000 1.2 +++ b/get-wifi-firmware/receipt Fri Dec 19 16:38:04 2008 +0000 1.3 @@ -12,7 +12,7 @@ 1.4 { 1.5 mkdir -p $fs/usr/bin 1.6 cp stuff/$PACKAGE $fs/usr/bin 1.7 - for i in b43 b43legacy ipw2100 ipw2200 ; do 1.8 + for i in b43 b43legacy ipw2100 ipw2200 rt73 ; do 1.9 ln -s $PACKAGE $fs/usr/bin/get-$i-firmware 1.10 done 1.11 }
2.1 --- a/get-wifi-firmware/stuff/get-wifi-firmware Thu Dec 18 15:09:25 2008 +0000 2.2 +++ b/get-wifi-firmware/stuff/get-wifi-firmware Fri Dec 19 16:38:04 2008 +0000 2.3 @@ -35,6 +35,12 @@ 2.4 WEB_SITE="http://$MODULE.sourceforge.net/" 2.5 WGET_URL="http://dl.atrpms.net/all/$PKG-$VERSION.noarch.rpm" 2.6 ;; 2.7 +rt73) 2.8 + VERSION=1.0.3.6 2.9 + SHORT_DESC="RT73(RT2571W) Wireless Lan firmware." 2.10 + WEB_SITE="http://www.ralinktech.com/" 2.11 + WGET_URL="http://www.ralink.com.tw/data/RT73_Linux_STA_Drv$VERSION.tar.gz" 2.12 + ;; 2.13 *) echo "Unknown wifi driver. Please run one of the following commands:" 2.14 for i in $(cd $(dirname $0); ls get-*-firmware); do 2.15 [ "$i" = "get-wifi-firmware" ] && continue 2.16 @@ -74,6 +80,7 @@ 2.17 *rpm) rpm2cpio < $(basename $WGET_URL) | cpio -id;; 2.18 *bz2) tar xjf $(basename $WGET_URL) 2.19 cd $SUBDIR/kmod;; 2.20 +*tar.gz) tar xzf $(basename $WGET_URL);; 2.21 *o) ;; 2.22 esac 2.23 2.24 @@ -83,6 +90,7 @@ 2.25 b43*) b43-fwcutter -w "$PKG-$VERSION/fs/lib/firmware" $FWSET;; 2.26 ipw*) rm -f lib/firmware/*LICENSE* 2.27 mv lib/firmware/* $PKG-$VERSION/fs/lib/firmware;; 2.28 +rt73) mv RT73_Linux_STA_Drv$VERSION/Module/rt73.bin $PKG-$VERSION/fs/lib/firmware;; 2.29 esac 2.30 2.31 # Creat receipt