Results 1 to 2 of 2

Thread: Run a simple script after boot completion

  1. #1
    Junior Member registered user
    Join Date
    Sep 2009
    Posts
    21

    Run a simple script after boot completion

    Hello,

    I installed knoppix on a USB disk and it boots OK.

    Upon boot completion I want knoppix to automatically run a simple script.

    According to documentation, I opened minirt.gz using:
    gunzip minirt.gz
    mkdir minirtdir
    cd minirtdir
    cpio -ivu --no-absolute-filenames < ../minirt

    I got the complete tree under minirtdir.

    Then I added an 'rc2.d' folder under /etc and created a link to a script located in /etc/init.d

    Then I compressed back to minirt.gz using:
    find . | cpio -oH newc | gzip -9 > ../minirt.gz

    and booted the PC with BOOT_IMAGE=linux 2

    But upon boot completion, my script was not run. I didn't find any files I created under /etc/init.d or /etc/rc2.d
    What am I doing wrong ?

    Thanks.

  2. #2
    Junior Member registered user
    Join Date
    Sep 2009
    Posts
    21

    Solution

    I was advised in the maillist to add a script to /etc/init.d (MyScript) and a link to this script named S90MyScript in /etc/rc2.d

Similar Threads

  1. simple guide to dual boot installation of knoppix
    By GS750 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 02-04-2007, 09:37 PM
  2. Replies: 0
    Last Post: 02-01-2005, 08:08 AM
  3. help with simple script
    By bob58 in forum General Support
    Replies: 2
    Last Post: 11-26-2004, 07:25 AM
  4. Tab completion?
    By majure in forum General Support
    Replies: 2
    Last Post: 09-12-2004, 02:25 AM
  5. extend Bash-completion (PgUp/PgDn)
    By veuf in forum Ideas
    Replies: 0
    Last Post: 04-19-2004, 08:40 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
  •  


Vintage DEC Digital Equipment Corp HP Compaq Drive Pullers, Bay Slot Covers picture

Vintage DEC Digital Equipment Corp HP Compaq Drive Pullers, Bay Slot Covers

$100.00



Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW picture

Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW

$269.99



Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7) picture

Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7)

$279.99



DEC T2053-DE MS65A-DA 128MB VAX 6000 Memory Board Gold Scrap Vintage picture

DEC T2053-DE MS65A-DA 128MB VAX 6000 Memory Board Gold Scrap Vintage

$64.99



Vintage DEC RT-11 V5.0 8” Floppy Disks HT-11 System BASIC FORTRAN Software Lot picture

Vintage DEC RT-11 V5.0 8” Floppy Disks HT-11 System BASIC FORTRAN Software Lot

$199.95



DEC VAX 4000-500 - Vintage - excellent condition - UPS shipping picture

DEC VAX 4000-500 - Vintage - excellent condition - UPS shipping

$3999.00



6 Vintage DEC Digital System Building Blocks - Flip Chips  picture

6 Vintage DEC Digital System Building Blocks - Flip Chips

$75.00



VINTAGE DEC LA34/ LA100 SERIES KEYBOARD W/NUMERIC PAD 70-17864-01C picture

VINTAGE DEC LA34/ LA100 SERIES KEYBOARD W/NUMERIC PAD 70-17864-01C

$140.00



Vintage DEC Digital M8153 RH70 UNIBUS CONTROL-BCT (B15) picture

Vintage DEC Digital M8153 RH70 UNIBUS CONTROL-BCT (B15)

$139.99



Vintage DEC Digital VSXXX-AA.B03 Hawley 3-Button Mouse 1986 Tested Working picture

Vintage DEC Digital VSXXX-AA.B03 Hawley 3-Button Mouse 1986 Tested Working

$111.00