How do I set up multiple boot scripts in linux?
EDIT: Haha I wrote "in linux" in the thread, but what else could I be talking about.
I know I can put dirty words in rc.local to see them when I boot up. Though I want to have two dirty words that I can choose from. Do I need to insert some code into the rc.local and prompt myself for user input, or am I required to create some sort of second file? Is it going to look like something like this? Code:
omgerror: |
You CAN use rc.local, but personally, I would write a seperate script, and call it from rc.local (easier to change/edit things).
For example, I made a script for running NAT and a DHCP server in a rc.nat script, then called it from rc.local. When I didn't need routing/DHCP server anymore, I just commented out the line in rc.local |
Quote:
|
Look in rc.wlan and rc.wireless. You can setup different networks using the config files for them. For example: I have two wireless networks in my house, one for the lan, one for vpn for work. I can choose between them using the config scripts and wireless tools in KDE.
|
I'm kind of baffled. It seems like those only allow normal configuration and don't let me specify a wpa_supplicant config file. If there is anyway I can just run what lines I need to run to connect to my home network or run what lines I need to run to connect to my school network. I'd really rather do that than deal with the config files at all.
|
All times are GMT -5. The time now is 07:13 AM. |