You are not logged in.

#1 2004-05-24 22:57:33

yak8998
Member
Registered: 2004-03-01
Posts: 143

running commands at boot time (ex: amixer mute)

Alright, this is out of curiosity (and also a good reference for newbies)

What are the places you can put commands to run commands on startup, the respective init levels for that place, and whats the "right" way to do it?

thx


"Ignorance is bliss, for stupid people."
"open-source is [...] programming Darwinism."
Vaughan-Nichols

Offline

#2 2004-05-24 23:12:08

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: running commands at boot time (ex: amixer mute)

You could write an rc script and put it in /etc/rc.d or if it's just one command at startup put it in /etc/rc.local.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#3 2004-05-24 23:35:55

Zephirias
Member
From: Pennsylvania, USA
Registered: 2004-04-26
Posts: 179

Re: running commands at boot time (ex: amixer mute)

Just a side question since this topic is here...can that be used to actually run a normal program? There's an interesting PowerPC emulator for the x86 architecture that I found that can successfully run OSX, and I was curious that if I installed it, whether or not I could possibly boot it on startup...


"Technically, you would only need one time traveler convention."

Offline

Board footer

Powered by FluxBB