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. This will cover both cases. -- Arkadiusz Miśkiewicz PLD/Linux Team http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/ _______________________________________________ pld-devel-en mailing list [EMAIL PROTECTED] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
