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
  •  


IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$200.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$149.99



IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671 picture

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671

$230.00



IBM Power S922 9009-22A Power9 DDR4 10GbE 6X SFF Barebone Server picture

IBM Power S922 9009-22A Power9 DDR4 10GbE 6X SFF Barebone Server

$999.95



IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD. picture

IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD.

$629.99



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$107.56



IBM POWER8 8286-42A S824 16-Core 128GB RAM 4.8TB SAS Fedora Linux Server PowerVM picture

IBM POWER8 8286-42A S824 16-Core 128GB RAM 4.8TB SAS Fedora Linux Server PowerVM

$750.00



IBM System X3650 M3 Server Xeon E5620 2.4 GHz 16 GB Ram Raid M5015 No OS No HDD picture

IBM System X3650 M3 Server Xeon E5620 2.4 GHz 16 GB Ram Raid M5015 No OS No HDD

$87.96



IBM System x3755 M3 2U Rackmount Server – No Drives or Trays picture

IBM System x3755 M3 2U Rackmount Server – No Drives or Trays

$150.00