How to have script run after kernel changed

Arch Willingham arch at tuparks.com
Fri Mar 28 13:11:40 UTC 2008


Thanks to both of y'all. What's the difference between the two?

-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com] On Behalf Of Manuel Aróstegui
Sent: Friday, March 28, 2008 8:51 AM
To: For users of Fedora
Subject: Re: How to have script run after kernel changed


On Fri, 2008-03-28 at 08:40 -0400, Arch Willingham wrote:
> Is there any way to get a script to run automatically after the
> computer reboots following a kernel change? For example, when yum runs
> and a new kernel gets installed, I usually reboot and then run a
> script that enables some devices that don't work with a new kernel
> until the script has run. That's all fine and dandy for me to do but
> as I setup more and more users  with Fedora (vs. windows), its an area
> that they find confusing and I'd like to keep them out of the loop
> with respect to having to remember to run the script if the kernel has
> changed.
>

Why /etc/rc.local doesn't do the trick?

Manuel.

--
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the users mailing list