/etc/cron.d/kmod

Jakub Bogusz qboosh at pld-linux.org
Fri Sep 17 00:43:15 CEST 2004


On Fri, Sep 17, 2004 at 12:34:11AM +0200, Arkadiusz Miskiewicz wrote:
> On Thursday 16 of September 2004 21:50, Grzegorz Konopko wrote:
> > Dnia czwartek, 16 września 2004 00:28, Grzegorz Konopko napisał:
> > > > $ cat /etc/cron.d/kmod
> > > > # rmmod -a is a two-hand sweep module cleaner
> > > > */10 * * * *    root    /sbin/rmmod -as
> > > >
> > > >
> > > > there's no point in it
> > >
> > > I forgot, if change /sbin/rmmod on /sbin/rmmod.modutils and have 2.6 and
> > > 2.4 on one machine and boot is 2.6 we have got 6 mails on hour.
> >
> > no-one commented thread so I changed it on rmmod.modutils and added test on
> > kernel 2.4.
> >
> > STBR?
> No, now it will be broken when having both - 2.4 and 2.6 - kernels. 
> 
> Put  /sbin/rmmod -as into module-init-tools and 
> [ ! -x /sbin/rmmod ] && /sbin/rmmod.modutils -as into modutils.

rmmod from m-i-t doesn't support auto-unloading (-a).


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list