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...
|