aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-07-13 20:49:20 +0000
committerBill Nottingham <notting@redhat.com>2000-07-13 20:49:20 +0000
commitda0e07625acbc126d0cae95784d087bcd55732a3 (patch)
tree05d203d583707cbaf0c33760c3a9215b3a73d207 /rc.d
parent686482a8d92c8c06e52c8363ca0ea65bc57576d2 (diff)
downloadinitscripts-da0e07625acbc126d0cae95784d087bcd55732a3.tar
initscripts-da0e07625acbc126d0cae95784d087bcd55732a3.tar.gz
initscripts-da0e07625acbc126d0cae95784d087bcd55732a3.tar.bz2
initscripts-da0e07625acbc126d0cae95784d087bcd55732a3.tar.xz
initscripts-da0e07625acbc126d0cae95784d087bcd55732a3.zip
fix == in shell
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 5e06d541..d61862ef 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -148,7 +148,7 @@ fi
usb=1
modprobe usb-controller 2>/dev/null || usb=0
-if [ $usb == "0" ] ; then
+if [ $usb = "0" ] ; then
usbpresent=`grep -i usb /proc/pci`
uhci=`grep -A2 -i usb /proc/pci |grep "I/O at"`
@@ -163,11 +163,11 @@ if [ $usb == "0" ] ; then
fi
fi
fi
-if [ $usb == "1" ]; then
+if [ $usb = "1" ]; then
action "Initializing USB controller: " /bin/true
fi
-if [ $usb == "1" ]; then
+if [ $usb = "1" ]; then
sleep 5
action "Mount USB filesystem" mount -t usbdevfs usbdevfs /proc/bus/usb
mouseoutput=`cat /proc/bus/usb/devices|grep -E "^I.*Cls=03.*Prot=02"`
@@ -297,7 +297,7 @@ if [ -f /etc/sysconfig/harddisks ] && [ -x /sbin/hdparm ]; then
for i in a b c d e f g h ; do
if [ -e "/proc/ide/hd$i/media" ] ; then
hdmedia=`cat /proc/ide/hd$i/media`
- if [ "$hdmedia" == "disk" ]; then
+ if [ "$hdmedia" = "disk" ]; then
action "Setting hard drive parameters for hd$i: " /sbin/hdparm $HDFLAGS /dev/hd$i
fi
fi