TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:1986] dev kernel
Hi
The part about this setting in my /etc/rc.d/rc.sysinit is
# Set up kernel version-dependent symlinks.
rm -f /lib/modules/preferred
if [ -n $USEMODULES ]; then
ktag="`cat /proc/version`"
mtag=`grep -l "$ktag" /lib/modules/2.[01].*/.rhkmvtag`
if [ -n "$mtag" ]; then
mver=`echo $mtag | sed -e 's,/lib/modules/,,' -e 's,/.rhkmvtag,,'`
ln -sf /lib/modules/$mver /lib/modules/preferred
ln -sf /boot/System.map-$mver /boot/System.map
ln -sf /boot/module-info-$mver /boot/module-info
fi
fi
On Thu, 29 Oct 1998, Gabe Turner wrote:
> >only consider the kernel 2.0.xx. Just find the following line:
> >mtag=`grep -l "$ktag" /lib/modules/2.0.*/.rhkmvtag`
>
> I searched the entire file (/etc/rc.d/rc.sysinit) and this line isn't in
> there... If I have to add it, where in the rc.sysinit would I do that?
>
> >Change it to:
> >mtag=`grep -l "$ktag" /lib/modules/2.[01].*/.rhkmvtag`
> > After reboot, the right modules should be loaded.
>