Advertisement
maurobaraldi

Install DBCMXX on Ubuntu 10.04

Jul 29th, 2011
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. if [[ $UID -ne 0 ]]; then
  4.     echo "$0 must be run as root"
  5.     exit 1
  6. else
  7.     echo "It works."
  8.     A='apt-get'
  9.     $A update
  10.     $A -y upgrade
  11.     $A install build-essential linux-headers-generic
  12.     $A build-dep linux
  13.     $A --reinstall install bcmwl-kernel-source
  14.     init 6
  15. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement