loading modules automatically in Fedora Core 2; startup commands

David L Norris dave at webaugur.com
Sat Aug 7 08:03:38 UTC 2004


On Fri, 2004-08-06 at 14:57 -0400, Peter Djalaliev wrote:
> I have installed ndiswrapper
>...
> How can I make this module to load automatically at
> startup?  In general, how do I edit the list of modules loaded
> automatically at startup?

You can add the command to /etc/rc.d/rc.local.  You may also want to
read "man modprobe.conf"

> The other question I have is about startup commands in Fedora Core 2. 
> Can I execute predefined jobs at startup?  For example, how can I get a
> bash shell to start every time Linux starts?  Or in fact, any command
> that I would execute from a shell or from a dekstop taskbar?

In the GNOME Desktop you can use gnome-session-properties to manually
add/remove items in the desktop startup.  (Which would normally be under
Preferences->Session but a bug in FC2 hides it.)

In many cases you can simply start every application you want to run at
login then select "Save Current Setup" on the logout dialog.

> Something like the commands in autoexec.bat under Windows.

/etc/rc.d/rc.local is executed at the end of init just before login.
You can run non-interactive commands from rc.local.

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040807/af9487f2/attachment-0001.sig>


More information about the fedora-list mailing list