Arch Willingham wrote:
Thanks to both of y'all. What's the difference between the two?
flexibility and complexity.
a script in /etc/rc.d/init.d can be configured (using chkconfig, mostly)
to run only in certain runlevels.
scripts you place here cshould be more complex as they have to support
start, stop, restart and status arguments
/etc/rc.d/rc.local is a script that runs once on bootup but only in
runlevels 2,3,4 or 5.
incidentally, you can also have a cron job that does this for you in
/etc/cron.d:
@reboot run_some_script_to_do_things.
Or for the more advanced user, create a metapackage that contains an
rpm trigger for when kernel packages get installed :)
regards,
Stuart
--
Stuart Sears RHCA etc.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list