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

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99
Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99
Juniper Networks EX3400-24T 24-Port Ethernet Switch w/Power Cord
$174.99
Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch
$245.00
Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic
$79.86
Juniper Networks AP33-US Indoor Wifi6 (US Version) 5GHz: 4x4:4; 2.99
$24.99
Juniper MX204 +JUNOS and Dual Power Supply
$7299.99
Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact Switch
$179.99
Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch
$79.99
Juniper Networks Mist Wireless Access Points, Model AP45
$59.99