Results 1 to 3 of 3

Thread: bootprocedure

  1. #1
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    11

    bootprocedure

    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

  2. #2
    Senior Member registered user
    Join Date
    Oct 2004
    Posts
    260
    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.

  3. #3
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard picture

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard

$351.99



ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU picture

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU

$45.00