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
  •  


Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$721.06



H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2512.18



HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD picture

HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD

$339.00



CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU picture

CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU

$580.03



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD picture

HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD

$191.95



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar

$365.30



DELL PowerEdge R630 8SFF Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$254.00



HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45

$353.00