Results 1 to 6 of 6

Thread: Running commands & shell scripts automatically at boot

  1. #1
    Member registered user
    Join Date
    Mar 2005
    Posts
    58

    Running commands & shell scripts automatically at boot

    THIS SHOULD BE IN A FAQ ........ maybe make it a sticky?

    ( I didn't find it on the Knoppix site anywhere! Correct me if I'm wrong ).

    ADDENDUM: Actually I found a mention of it in: Persistent Home How To.

    Put commands & names of shell scripts at the end of the file: knoppix.sh
    The file is made by the menu item "Save Knoppix Configuration".
    My knoppix.sh is saved to: /mnt/hda3, yours is wherever you told the
    Save Knoppix Config. utility to put it, just open the file in an editor.
    This might not work for everything, just try it & see if it does.

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441

    Re: Running commands & shell scripts automatically at bo

    Quote Originally Posted by sunburnt
    THIS SHOULD BE IN A FAQ ........ maybe make it a sticky?
    The wiki is back up and running. It is designed so that any registed user can create and edit the documetation. It is a much better choice for storing information that cluttering the tops of all of the lists with "stickies". It is also in one plae where people should be looking, rather than have to search through several forums for the information. Stickies were handy while the wiki was down, but they have a much more limited use now. Eventually there are too many stickies in a list and a moderator may "clean things up". I encourage you to wiite any information that you think is worth preserving in a wiki article. Look to see if there are appropriate articles that you could contribute too, and if not a new one can be started.

  3. #3
    Junior Member
    Join Date
    Mar 2005
    Posts
    6

    Read forum before posting

    Before posting, look at three lines below to “Optimal man HD Install … “ and don’t clutter forum.

  4. #4
    Member registered user
    Join Date
    Mar 2005
    Posts
    58

    I did read, it'd be nice if we were all super users!

    I understand just enough of “Optimal man HD Install … “ to know
    that it's what I'm looking to do, & that's about it!

    Unfortunately most of us aren't gurus, but that's why there's forums.
    Good help is almost impossable to find, THAT REALLY HELPS.
    Most of the world just needs a bit more hand holding, to start with.

    A repository of scripts that modify or setup Knoppix would be great.
    Clear instructions how to batch run them at boot for custom setups.
    It'd save educating everyone about the same stuff over & over.
    And we don't have to understand it to use it, right?

  5. #5
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Hmmm,

    Not sure if this "file" gets stored during a Live CD boot, and either using the "Save Knoppix Configuration", but, I know it works in a "Persistant Home", and deffinately works with a hard drive install...

    My "favorite" place to put in script files, at boot, is the /etc/init.d/bootmisc.sh file -=- at the bottom

    I dont "get" the whole Init.d and RC# booting, I know that the boot process goes through different "levels", like 1, 2, 3, etc... and during these levels, processes are started, as they are expected, during each level, but, as far as "adding" one of my scripts to the "boot order", I'm not going there... I find adding them to the bootmisc.sh file a nice compramise

    Just my two shillings worth,
    Ms. Cuddles

  6. #6
    Senior Member registered user
    Join Date
    Apr 2005
    Location
    italy
    Posts
    245
    I was wondering me what the correspondent autoexec.bat in linux was...maybe bootmisc.sh is a good candidate?

Similar Threads

  1. running shell script
    By splittik in forum General Support
    Replies: 1
    Last Post: 03-22-2005, 07:38 AM
  2. xsession - running custom commands
    By cld in forum Customising & Remastering
    Replies: 1
    Last Post: 07-29-2004, 02:47 PM
  3. start scripts automatically
    By hokiegal99 in forum General Support
    Replies: 1
    Last Post: 12-11-2003, 01:23 AM
  4. Auto running scripts off a remastered CD question.
    By colinmc151 in forum Customising & Remastering
    Replies: 3
    Last Post: 11-10-2003, 11:40 PM
  5. Shell scripts running at Knoppix
    By majales in forum General Support
    Replies: 2
    Last Post: 05-15-2003, 04:21 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
  •  


Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Knoppix 3.4 Linux installation CD picture

Knoppix 3.4 Linux installation CD

$15.00



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$39.99



Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$19.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$10.00



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$10.00



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95