aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-08-21 06:17:28 +0000
committerBill Nottingham <notting@redhat.com>2002-08-21 06:17:28 +0000
commitef316c76566e10c48ea95ef1695c3f24a7db9c61 (patch)
treea293b68aedc87c440887c606ae57c03565c22b82 /rc.d/rc.sysinit
parentec78c5ece80e97db59b4f831aaebf5e668907e83 (diff)
downloadinitscripts-ef316c76566e10c48ea95ef1695c3f24a7db9c61.tar
initscripts-ef316c76566e10c48ea95ef1695c3f24a7db9c61.tar.gz
initscripts-ef316c76566e10c48ea95ef1695c3f24a7db9c61.tar.bz2
initscripts-ef316c76566e10c48ea95ef1695c3f24a7db9c61.tar.xz
initscripts-ef316c76566e10c48ea95ef1695c3f24a7db9c61.zip
typos
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 f771daca..cd3427e6 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -713,12 +713,12 @@ if [ -x /sbin/hdparm ]; then
fi
# Boot time profiles. Yes, this should be somewhere else.
-if grep -q "netprofile==" /proc/cmdline ; then
+if grep -q "netprofile=" /proc/cmdline ; then
cmdline=`cat /proc/cmdline`
for arg in cmdline ; do
- if [ "${arg##netprofile==}" != "${arg}" ]; then
+ if [ "${arg##netprofile=}" != "${arg}" ]; then
[ -x /usr/sbin/redhat-config-network-cmd ] &&
- /usr/sbin/redhat-config-network-cmd --profile ${arg##netprofile=-}
+ /usr/sbin/redhat-config-network-cmd --profile ${arg##netprofile=}
fi
done
fi