diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2000-05-11 21:24:22 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2000-05-11 21:24:22 +0000 |
commit | f355b5b742f82b077cf4f3443170cc00629e0a95 (patch) | |
tree | ab60feca18134f34e1f67a7a7f923626df5a4d5f | |
parent | 542f552b4c08f65c2009a71368d2f2d7bda1ca3a (diff) | |
download | initscripts-f355b5b742f82b077cf4f3443170cc00629e0a95.tar initscripts-f355b5b742f82b077cf4f3443170cc00629e0a95.tar.gz initscripts-f355b5b742f82b077cf4f3443170cc00629e0a95.tar.bz2 initscripts-f355b5b742f82b077cf4f3443170cc00629e0a95.tar.xz initscripts-f355b5b742f82b077cf4f3443170cc00629e0a95.zip |
fix bug #11267r5-12
-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 8ce4b240..3faac368 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -253,7 +253,7 @@ rm -f /lib/modules/preferred rm -f /lib/modules/default if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then # If they aren't using a recent sane kernel, make a link for them - if [ ! -n "`uname -r | grep "-"`" ]; then + if [ ! -n "`uname -r | grep -- "-"`" ]; then ktag="`cat /proc/version`" mtag=`grep -l "$ktag" /lib/modules/*/.rhkmvtag 2> /dev/null` if [ -n "$mtag" ]; then |