Subdomain Posts
Bash | 371 days ago
Bash | 421 days ago
None | 421 days ago
Bash | 441 days ago
Bash | 441 days ago
Bash | 445 days ago
Bash | 445 days ago
Bash | 446 days ago
Bash | 446 days ago
Bash | 471 days ago
Recent Posts
None | 9 sec ago
SQL | 17 sec ago
None | 27 sec ago
None | 32 sec ago
None | 35 sec ago
None | 38 sec ago
None | 38 sec ago
None | 53 sec ago
C++ | 56 sec ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By ugaciaka on the 28th of Dec 2008 08:43:10 AM Download | Raw | Embed | Report
  1. #!/bin/bash
  2. #
  3. # /etc/rc.local: Local multi-user startup script.
  4. #
  5.  
  6. # disattivo il risparmio energetico per l'HD (rovina l'HD)
  7. hdparm -B 255 /dev/sda >& /dev/null
  8.  
  9. # disattivo all'inizio il bluetooth
  10. echo 0 > /sys/devices/platform/asus-laptop/bluetooth &
  11.  
  12. # attivo il risparmio energetico in base all'alimentazione
  13. alimentazione() {
  14.   if on_ac_power
  15.   then
  16.     # alimentazione da rete elettrica
  17.     zsh /etc/acpi/anythings.sh ac_adapter >& /dev/null
  18.   else
  19.     # alimentazione da batteria
  20.     zsh /etc/acpi/anythings.sh battery >& /dev/null
  21.   fi
  22. return 0
  23. }
  24.  
  25. alimentazione &
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: