aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1998-04-20 13:50:19 +0000
committerErik Troan <ewt@redhat.com>1998-04-20 13:50:19 +0000
commitc533bec2cfe3b9290806930085342269ba09571b (patch)
tree22fa24bd491941df7b4acb1364ad3657282e4416 /rc.d/rc.sysinit
parent572b30c69f2ad099e9a371e3842398b6d7f8bea4 (diff)
downloadinitscripts-c533bec2cfe3b9290806930085342269ba09571b.tar
initscripts-c533bec2cfe3b9290806930085342269ba09571b.tar.gz
initscripts-c533bec2cfe3b9290806930085342269ba09571b.tar.bz2
initscripts-c533bec2cfe3b9290806930085342269ba09571b.tar.xz
initscripts-c533bec2cfe3b9290806930085342269ba09571b.zip
added more "" to get rid of some problems
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit6
1 files 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