| 1 | #!/bin/bash |
| 2 | #Harvie's MAAADWiFi module instalation script |
| 3 | #2oo8 |
| 4 | #No freakin' rightz reserved! |
| 5 | |
| 6 | cd /usr/src |
| 7 | rm -rf madwifi-source* |
| 8 | |
| 9 | apt-get build-dep madwifi-source |
| 10 | |
| 11 | echo Downloading+Building madwifi-source. plz w8...; |
| 12 | apt-get source -b madwifi-source |
| 13 | if [[ $? > 0 ]]; then |
| 14 | echo 'apt-get source ERROR... Sorry dude ;('; |
| 15 | return 1; |
| 16 | fi; |
| 17 | |
| 18 | echo Instaling madwifi module. plz w8...; |
| 19 | dpkg -i madwifi-source*.deb |
| 20 | if [[ $? > 0 ]]; then |
| 21 | echo 'dpkg -i ERROR... Sorry dude ;('; |
| 22 | return 1; |
| 23 | fi; |
| 24 | |
| 25 | echo "Madwifi gracefully orgasmed. You're da best *NIXadmin on the world."; |
| 26 | echo "Chuck Norris is proud of you..."; |
| 27 | echo; |