Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. fixboottime-debian () {
  2. # source: http://forums.debian.net/viewtopic.php?t=31275&highlight=speed+boot
  3. # see also: http://wiki.debian.org/BootProcessSpeedup
  4. [ $EUID != 0 ] && echo "faça login como root" && sleep 3 && exit
  5. apt-get -y install insserv
  6. echo 'CONCURRENCY=shell' >> /etc/default/rcS
  7. apt-get -y install readahead
  8. apt-get -y install preload
  9. touch  /.readahead_collect
  10. # before using these options read this article: http://wiki.debian.org/BootProcessSpeedup
  11. apt-get -y install kexec-tools
  12. dpkg-reconfigure kexec-tools
  13. }