Results 1 to 2 of 2

Thread: Startup Script doesn't run

Hybrid View

  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
  •  


NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$39.99



NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless picture

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless

$22.00



TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears picture

TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears

$99.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



Monoprice 5-Port 10/100/1000Mbps Gigabit Ethernet Unmanaged Switch Network Hub picture

Monoprice 5-Port 10/100/1000Mbps Gigabit Ethernet Unmanaged Switch Network Hub

$8.99



TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern picture

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern

$15.25



~NIB~ Netgear GS728TPP-300NAS V3 24 PORT GIGABIT POE MNGD W. 4 SFP PORTS picture

~NIB~ Netgear GS728TPP-300NAS V3 24 PORT GIGABIT POE MNGD W. 4 SFP PORTS

$349.95



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99