SliTaz SliTaz Forum

You are not logged in.

#1 2012-01-30 14:44:38

Ignasi
Member
Registered: 2011-12-03
Posts: 8

Boot scripts

Hey, I just installed slitaz on my laptop.

The issue is, during boot, it takes a lot on the following step:

Configuring wlan0...

where a lot of time is almost a minute

I've tried setting WIFI="no" in /etc/network.conf but this only changes from "Configuring wlan0" to "Configuring eth0" and still takes the same amount of time.

I've heard about boot scripts in /etc/init.d but I'm not really sure how to deal with that.

Any help will be appreciated.

Thanks guys : )

Offline

#2 2012-01-30 18:01:10

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Boot scripts

/etc/rcS.conf is the main configuration file for loading daemons,scripts,modules,etc..

http://mirror.slitaz.org/hg/hgwebdir.py/slitaz-boot-scripts/file/a6d3a3585e91/etc/rcS.conf

Stop network.sh from autostarting on boot:

Remove network.sh from RUN_SCRIPTS=

Stop/Start network.sh manually from console:

#/etc/init.d/network.sh stop|start

More Info:

http://mirror.slitaz.org/doc/en:guides:network-script

http://mirror.slitaz.org/doc/en:handbook:start

Offline

#3 2012-01-30 19:36:06

Ignasi
Member
Registered: 2011-12-03
Posts: 8

Re: Boot scripts

Thank you for your quick answer! : )

It worked perfectly, now booting with 5 seconds instead of the 69 before = ='

Just 1 comment, first I tried what you said, of removing network.sh from RUN_SCRIPTS in /etc/rcS.conf

And it worked, just I didn't had hostname... (in terminal I was shown as: username@(none) )

So I put back the network.sh in RUN_SCRIPTS, and in /etc/init.d/network.sh I commented the start call in line 202 (the one after the boot call)

Thank you again.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]