aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-08-21 06:15:38 +0000
committerBill Nottingham <notting@redhat.com>2002-08-21 06:15:38 +0000
commitec78c5ece80e97db59b4f831aaebf5e668907e83 (patch)
treedf333f7ccd3ff2dc1f8652560ff35047f652c567
parent0254dab18f5907e01533c78075ff79cd534a74d2 (diff)
downloadinitscripts-ec78c5ece80e97db59b4f831aaebf5e668907e83.tar
initscripts-ec78c5ece80e97db59b4f831aaebf5e668907e83.tar.gz
initscripts-ec78c5ece80e97db59b4f831aaebf5e668907e83.tar.bz2
initscripts-ec78c5ece80e97db59b4f831aaebf5e668907e83.tar.xz
initscripts-ec78c5ece80e97db59b4f831aaebf5e668907e83.zip
oops, profile= is taken
-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 7a6cc96f..f771daca 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 "profile=" /proc/cmdline ; then
+if grep -q "netprofile==" /proc/cmdline ; then
cmdline=`cat /proc/cmdline`
for arg in cmdline ; do
- if [ "${arg##profile=}" != "${arg}" ]; then
+ if [ "${arg##netprofile==}" != "${arg}" ]; then
[ -x /usr/sbin/redhat-config-network-cmd ] &&
- /usr/sbin/redhat-config-network-cmd --profile ${arg##profile-}
+ /usr/sbin/redhat-config-network-cmd --profile ${arg##netprofile=-}
fi
done
fi