Advertisement
voyeg3r

fixDebianBootSpeed

Jul 7th, 2013
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement