mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Aug. 13 2006,13:15 |
|
Starting the bash file depends on what it does, and when and how often you want it to run. If it's meant to do system tasks as root once when you boot, it should be in /opt/bootlocal.sh. If it has user tasks and you want it to run when you log in, put it in /home/dsl/.bash_profile. If you want it to run every time you open a terminal, put it in /home/dsl/.bashrc. If it needs X, put it in /home/dsl/.xinitrc.
If the script is already executable and begins with #!/bin/sh you do not need "sh" in your command. It would also need to be in your $PATH if you want to run it without a full path to the file.
The iwconfig command is iwconfig_setup
I'm not sure about dmix settings, but there is at least one thread here somewhere that explains how to do it.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|