From c533bec2cfe3b9290806930085342269ba09571b Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Mon, 20 Apr 1998 13:50:19 +0000 Subject: added more "" to get rid of some problems --- rc.d/rc.sysinit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index b89730db..7479ac75 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -122,9 +122,9 @@ if [ -n $USEMODULES ]; then if [ -n "$kernelfile" ]; then kernelname=`echo $kernelfile | awk -F- '{ print $1 }'` versioninfo=`echo $kernelfile | awk -F- '{ print $2 }'` - if [ $kernelname = "/boot/vmlinuz" -a \ - -d /lib/modules/$versioninfo -a \ - $versioninfo != `uname -r` ]; then + if [ "$kernelname" = "/boot/vmlinuz" -a \ + -d "/lib/modules/$versioninfo" -a \ + "$versioninfo" != `uname -r` ]; then ln -sf $versioninfo /lib/modules/default fi fi -- cgit v1.2.1