  | |  | Run for a new kernel install (was: Forgive the rant...but) | Run for a new kernel install (was: Forgive the rant...but) 2004-12-03 - By Bogdan Costescu
Back On Fri, 3 Dec 2004, Brian Long wrote:
> ... before putting this file in /etc/rc.d/init.d. We have similar > init scripts for slmodem, aironet, vpnclient, etc.
... and all of them need to know if the kernel has changed since their last run. How about doing it the other way around by having a script or series of scripts a la /etc/profile.d be run from %post of a kernel RPM ? (and eventually from %preun as well)
The script would only run when the kernel RPM is installed and would give the possibility of running any extra commands, like compiling a new version of the NVidia driver or installing an existing RPM (although locking of the RPM database has to be considered here). Therefore, there would be no need for such init scripts to keep track of kernel versions.
-- Bogdan Costescu
IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868 E-mail: Bogdan.Costescu@(protected)
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |