fixboottime-debian () {
# source: http://forums.debian.net/viewtopic.php?t=31275&highlight=speed+boot
# see also: http://wiki.debian.org/BootProcessSpeedup
[ $EUID != 0 ] && echo "faça login como root" && sleep 3 && exit
apt-get -y install insserv
echo 'CONCURRENCY=shell' >> /etc/default/rcS
apt-get -y install readahead
apt-get -y install preload
touch /.readahead_collect
# before using these options read this article: http://wiki.debian.org/BootProcessSpeedup
apt-get -y install kexec-tools
dpkg-reconfigure kexec-tools
}