LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-07-2004, 10:22 AM   #1
anandj
Member
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 92

Rep: Reputation: 15
FC2/FC1: decreasing boot up time by delaying services


Hi

Windows & Mac often appear to be fast to boot up mainly because they often delay the starting of various services until after the user interface has started.

I wanted to use the same idea for starting Fedora faster.
So I disabled many of the services that are not required to start X and I started them seperately later in rc.local
I am sure there are other people here in the forum have implemented the same idea.
I have shown below how I have implemented this. If any of you have a better way of doing this, I would love to hear from you guys. If there are more services that can be delayed, I would love to hear about that too.

Here is my /etc/rc.local file

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
nice /etc/startservices &


Here is my /etc/startservices file

/sbin/service network start > /tmp/startservice.log
/sbin/modprobe yenta_socket
/sbin/service pcmcia restart
/sbin/ifdown eth1
/sbin/ifup eth1 >& /tmp/eth1.log &
/sbin/service gpm start >> /tmp/startservice.log
/sbin/service sshd start >> /tmp/startservice.log
/sbin/service ntpd start >> /tmp/startservice.log
/sbin/service iptables start >> /tmp/startservice.log
/sbin/service portmap start >> /tmp/startservice.log


/usr/sbin/tmpwatch 100 /tmp >> /tmp/startservice.log
echo 1 > /proc/sys/vm/laptop_mode
hdparm -S 120 /dev/hdc >> /tmp/startservice.log

/sbin/service atd start >> /tmp/startservice.log
/sbin/service rhnsd start >> /tmp/startservice.log
/sbin/service cpuspeed start >> /tmp/startservice.log
/sbin/service random start >> /tmp/startservice.log


Any comments would be appreciated

-Anand
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum upgrade FC1 to FC2 new kernel will not boot Kelean Fedora 1 10-27-2005 10:05 PM
ps2 mouse freezing on FC1/FC2 from time to time farpoint Linux - Hardware 5 08-14-2005 02:20 PM
a question about starting of services during boot time tuxfood Red Hat 1 04-22-2005 09:59 PM
FC1 to FC2 upgrade but X only starts with boot to old kernel old_man_elizer Fedora 0 05-30-2004 01:25 AM
starting services at boot-time noisybastard Linux - Newbie 2 11-09-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration