View Full Version : bootprocedure
fabian_wuertz
12-30-2004, 01:26 PM
i want to run some commands during the bootprocedure.
here are the commands:
pump -i ath0 (wireless lan)
ntpdate ntp1.ptb.de
apache
/etc/init.d/mysql start
in which file i have to add this commands?
thx fabian
I knew how to do this in SuSE. Every distro seems different.
Take a look at /etc/rcS.d and check out the read me there.
This might be what you are looking for. Good luck.
Markus
12-31-2004, 11:44 AM
echo "pump -i ath0" >> /etc/init.d/bootmisc.sh
set the ntpserver you want in /etc/default/ntpdate
update-rc.d ntpdate defaults
update-rc.d apache defaults
update-rc.d mysql defaults
I don't use apache or mysql, so check from /etc/init.d/ that these work. For newer versions of apache it's:
update-rc.d httpd defaults
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.