diff options
author | Cristian Gafton <gafton@redhat.com> | 1998-10-06 16:03:38 +0000 |
---|---|---|
committer | Cristian Gafton <gafton@redhat.com> | 1998-10-06 16:03:38 +0000 |
commit | a8c0714a362ae9c82b3e98ca9a1860c7f5686c9c (patch) | |
tree | 19631872614835c793ecc25d2b2716670b1094d6 | |
parent | 5cb38e3a425222d2c81c9648d5da790a53608568 (diff) | |
download | initscripts-a8c0714a362ae9c82b3e98ca9a1860c7f5686c9c.tar initscripts-a8c0714a362ae9c82b3e98ca9a1860c7f5686c9c.tar.gz initscripts-a8c0714a362ae9c82b3e98ca9a1860c7f5686c9c.tar.bz2 initscripts-a8c0714a362ae9c82b3e98ca9a1860c7f5686c9c.tar.xz initscripts-a8c0714a362ae9c82b3e98ca9a1860c7f5686c9c.zip |
Accept all kernel numbers instead of just 2.0.x
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 220f5191..2327e5ad 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -115,7 +115,7 @@ fi rm -f /lib/modules/preferred if [ -n "$USEMODULES" ]; then ktag="`cat /proc/version`" - mtag=`grep -l "$ktag" /lib/modules/2.0.*/.rhkmvtag` 2> /dev/null + mtag=`grep -l "$ktag" /lib/modules/*/.rhkmvtag` 2> /dev/null if [ -n "$mtag" ]; then mver=`echo $mtag | sed -e 's,/lib/modules/,,' -e 's,/.rhkmvtag,,' -e 's,[ ].*$,,'` ln -sf /lib/modules/$mver /lib/modules/preferred |