Results 1 to 2 of 2

Thread: Startup Script doesn't run

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Location
    NorthEastern US
    Posts
    1

    Startup Script doesn't run

    First, I am using a usb jumpdrive to save my homedir and config files. At bootup I specify myconfig=scan and home=scan. There doesn't seem to be any problems with saving things like browser settings, desktop changes etc. , but I cannot seem to get a startup script to run to activate my network settings (wireless). I've tried creating a sym-link in /etc/init.d, /etc/rcS.d and /etc/rc5.d none of which work. I even ran saveconfig after each link was added.

    My jumpdrive is mounted as /mnt/sda1
    I have my startup scripts in /mnt/sda1/etc/
    The symbolic links I have tried to get working are like this:

    in /etc/rcS.d
    ln -s /mnt/sda1/etc/S01-network-config.home S01-network-config.home

    in /etc/rc5.d
    ln -s /mnt/sda1/etc/S01-network-config.home S77-network-config.home

    in /etc/init.d
    ln -s /mnt/sda1/etc/S01-network-config.home homenet

    Does anyone know how to get a startup script to run persistently? If so, I would like to hear about it.

    Thanks in advance.

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Remaster your knoppix CD so that the softlink you're trying to create actually exists when the system is booting (in /etc/rc5.d and probably rc2.d and rc3.d as well) and so your script is embedded in the CD filesystem (/usr/local/bin is a good place). If you're adding it after you boot, it is not being saved.

Similar Threads

  1. Getting rid of startup script actions
    By lengel in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-18-2005, 08:22 AM
  2. how do I run a script on startup
    By monkeyking in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 01-03-2005, 10:19 PM
  3. Help with shell script + startup
    By niXnoob in forum General Support
    Replies: 3
    Last Post: 10-06-2004, 04:56 AM
  4. Need help with startup script.
    By obsoleto in forum General Support
    Replies: 1
    Last Post: 06-02-2004, 05:43 AM
  5. Startup script and noscsi
    By darthczyz in forum Customising & Remastering
    Replies: 2
    Last Post: 04-14-2004, 06:06 PM

Posting Permissions

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


Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS picture

HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS

$140.00



Lenovo ThinkServer TS460 Part Number: 70TS-S01U00 picture

Lenovo ThinkServer TS460 Part Number: 70TS-S01U00

$279.00



DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11 picture

DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11

$149.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Intel Xeon E5-2699v4 SR2JS 22-Core 2.2GHz Broadwell-EP Processor *km picture

Intel Xeon E5-2699v4 SR2JS 22-Core 2.2GHz Broadwell-EP Processor *km

$84.99



HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro picture

HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro

$349.00



NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11 picture

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11

$450.00



Intel Xeon E-2286G 4GHz 6-Core 12MB LGA 1151 Processor SRF7C picture

Intel Xeon E-2286G 4GHz 6-Core 12MB LGA 1151 Processor SRF7C

$104.97