WWW.GENTOO-SRBIJA.ORG
Windows is like a rotten tree trunk. It looks kind of bad on the outside, and on the inside it is full of bugs and worms. Četvrtak, 08 Januar/2009  
 » SADRŽAJ
 › Uvod
 › Performanse
 › Mirori
 › Linkovi
 › Download
 › Mailing lista
 › Kontakt
 » PROFIL
» šifra
zapamti me
  Registracija
 » PRETRAGA
 » NOVI PAKETI
mail-filter/MailScanner-4.70.7.1: Free Anti-Virus and Anti-Spam Filter
dev-util/tmake-2.12: A Cross platform Makefile tool
dev-perl/Filesys-Df-0.92: Disk free based on Filesys::Statvfs
app-shells/bash-completion-20060301: Programmable Completion for bash
app-portage/gentoolkit-0.2.4.2-r1: Collection of administration scripts for Gentoo
app-crypt/pgpdump-0.26: A PGP packet visualizer
app-admin/bcfg2-0.9.6: Bcfg2 is a configuration management tool.
net-misc/dhcpcd-4.0.7: A fully featured, yet light weight RFC2131 compliant DHCP client
net-misc/dhcpcd-4.99.6: A fully featured, yet light weight RFC2131 compliant DHCP client
net-misc/dhcpcd-4.0.6: A fully featured, yet light weight RFC2131 compliant DHCP client
 » WEBMAIL
 » GENTOO-PORTAGE
And we're back
Forum index ›› Administracija › Ubrzajte boot sistema!  
  AUTOR   PORUKA

Site Admin
Učlanjen: 28 Oct 04
Lokacija: Beograd
Poruke: 723
profil¬ poruka¬ www¬
 Oglašeno: 05 Nov 04  12:13  

Neke od operacija koje se izvršavaju prilikom podizanja sistema nisu uvek neophodne. Promenite sledeće skripte kako bi se te operacije izvršavale samo kada su potrebne:

/etc/init.d/modules
promenite
ebegin "Calculating module dependencies"
/sbin/modules-update &>/dev/null
eend $? "Failed to calculate dependencies"

ovako
if [ /etc/modules.d -nt /etc/modules.conf ]
then
ebegin "Calculating module dependencies"
/sbin/modules-update &>/dev/null
eend $? "Failed to calculate dependencies"
else
einfo "Module dependencies are up-to-date"
fi

modules-update će biti pokrenut samo ako ste napravili neke izmene u sistemu

/etc/init.d/localmount
promenite
mount -at nocoda,nonfs,noproc,noncpfs,nosmbfs,noshm >/dev/null

ovako
mount -aFt nocoda,nonfs,noproc,noncpfs,nosmbfs,noshm >/dev/null

da bi se mount'ovalo sve odjednom a ne jedan pa drugi...

/etc/init.d/bootmisc
promenite
if [ -x /sbin/env-update.sh ]
then

ebegin "Updating environment"
/sbin/env-update.sh >/dev/null
eend 0
fi

ovako
if [ -x /sbin/env-update.sh ]
then
if [ /etc/env.d -nt /etc/profile.env ]
then
ebegin "Updating environment"
/sbin/env-update.sh >/dev/null
eend 0
else
einfo "Environment up-to-date"
fi
fi

env-update će biti pokrenut samo ako ste napravili izmene u sistemu

/etc/conf.d/rc
promenite
RC_PARALLEL_STARTUP="no"

ovako
RC_PARALLEL_STARTUP="yes"

svi servisi će se startovati odjednom a ne jedan po jedan...


Site Admin
Učlanjen: 27 Oct 04
Lokacija: privileged mode
Poruke: 913
profil¬ poruka¬
upRE: Ubrzajte boot sistema!  Oglašeno: 05 Nov 04  12:45   Izmenio: z10n

Treba obratiti pažnju nakon $ emerge system, nekad dobijete novi /etc/init.d/modules pod nazivom ._cfg0000_modules, pre nego što uradite $ etc-update obrišite ovaj file, da bi ste zadržali, podešavanja.