diff options
author | Bill Nottingham <notting@redhat.com> | 2000-05-02 16:01:45 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-05-02 16:01:45 +0000 |
commit | 3f6d51fe5c632351ce0ddec1b4bc09f79d33a7fc (patch) | |
tree | 6fda061de4e48a6a78e3239711fbf23c81b9bc42 | |
parent | cf95481650407b3eca1c482a0949542e0130bb9c (diff) | |
download | initscripts-3f6d51fe5c632351ce0ddec1b4bc09f79d33a7fc.tar initscripts-3f6d51fe5c632351ce0ddec1b4bc09f79d33a7fc.tar.gz initscripts-3f6d51fe5c632351ce0ddec1b4bc09f79d33a7fc.tar.bz2 initscripts-3f6d51fe5c632351ce0ddec1b4bc09f79d33a7fc.tar.xz initscripts-3f6d51fe5c632351ce0ddec1b4bc09f79d33a7fc.zip |
fix old compatibility cruft
-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 e7cf8a04..8ce4b240 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 |