View Full Version : Running commands & shell scripts automatically at boot

04-13-2005, 05:57 AM
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.

Harry Kuhman
04-13-2005, 07:43 AM
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.

04-14-2005, 04:40 AM
Before posting, look at three lines below to “Optimal man HD Install … “ and don’t clutter forum.

04-15-2005, 02:00 AM
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?

05-28-2005, 02:55 PM

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

05-28-2005, 05:39 PM
I was wondering me what the correspondent autoexec.bat in linux was...maybe bootmisc.sh is a good candidate? :roll: