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
  •  


AMD Ryzen 5 5500 Processor ( read Description) picture

AMD Ryzen 5 5500 Processor ( read Description)

$59.00



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR picture

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR

$23.00



LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5 picture

LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5

$768.00



Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$67.99



Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor picture

Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor

$62.95



Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor picture

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor

$175.00



AMD Ryzen 7 7700X 8-Core, 16-Thread Unlocked Desktop Processor picture

AMD Ryzen 7 7700X 8-Core, 16-Thread Unlocked Desktop Processor

$250.00