Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!

Boba Fett

By: a guest on Jun 18th, 2010  |  syntax: Bash  |  size: 0.70 KB  |  views: 386  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/sh
  2. #Installairdrop-ng-script
  3. #Script by CAG (aka BobaFett)
  4. #May 2010 (updated June 2010)
  5. #
  6. #Installs airdrop-ng in Backtrack 4 (useful if you use the BT4 live disc)
  7. #To run script, save it as "Installairdrop-ng-script" (or whatever you like) and make it executable using chmod, or simply right click->properties->permissions->check "is executable", then change to the appropriate directory and type ./Installairdrop-ng-script in a terminal.
  9. ROOT_UID=0     # Only users with $UID 0 have root privileges.
  10. E_NOTROOT=87   # Non-root exit error.
  12. if [ "$UID" -ne "$ROOT_UID" ]
  13. then
  14.   echo "Must be root to run this script."
  15.   exit $E_NOTROOT
  16. fi  
  18. apt-get update && apt-get install airdrop-ng
clone this paste RAW Paste Data