Results 1 to 2 of 2

Thread: booting into runlevel 1 want a script to autorun

  1. #1
    Junior Member
    Join Date
    Jun 2006
    Posts
    3

    booting into runlevel 1 want a script to autorun

    hi,

    i am using knoppix on a thumb drive and have it boot automatically into run level 1. i want to have it execute a simple script i wrote when it finishes booting. where does that script need to go? i have tried putting it into /etc/rc1.d and it doesn't execute.

    any help would be appreciated.

    -rm

  2. #2
    Senior Member registered user
    Join Date
    Apr 2005
    Location
    italy
    Posts
    245
    Is better that you put your script in '/etc/init.d'.
    What you have to put in '/etc/tc1.d' is a symlink to it.
    The symlink has to follow a syntiax such as 'S+num+namescript' (es. S65myscript).
    Here's something more exhaustive about this topic. at 'Modification of execution levels' paragraph.

Similar Threads

  1. autorunning a script when booting at runlevel 2
    By mbc in forum Customising & Remastering
    Replies: 1
    Last Post: 03-15-2006, 12:12 AM
  2. autorun
    By kooladi in forum Customising & Remastering
    Replies: 1
    Last Post: 10-19-2005, 05:22 PM
  3. Run a shell script after booting
    By mpweber77 in forum Customising & Remastering
    Replies: 1
    Last Post: 08-01-2005, 06:18 AM
  4. Problem booting to runlevel 5
    By Panikos in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 09-29-2004, 02:37 AM
  5. How to autorun a script in runlevel2 with a new boot option
    By Blue in forum Customising & Remastering
    Replies: 1
    Last Post: 01-20-2004, 11:49 AM

Posting Permissions

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


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

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

$19.95



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

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

$49.99



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



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$36.99



TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box picture

TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box

$23.99



Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC picture

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC

$49.05



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



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

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



NETGEAR ProSAFE JGS524PE 24-Port Gigabit Plus PoE Managed Network Switch Tested picture

NETGEAR ProSAFE JGS524PE 24-Port Gigabit Plus PoE Managed Network Switch Tested

$49.58