aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-12-09 17:28:45 +0000
committerBill Nottingham <notting@redhat.com>2002-12-09 17:28:45 +0000
commit461803a5a629bf37c78ef137bd6446540f43b771 (patch)
treecda4243644eb25a67741f750d548390acb09282f
parentfd9006b67228d26032842e092ad179c091053568 (diff)
downloadinitscripts-461803a5a629bf37c78ef137bd6446540f43b771.tar
initscripts-461803a5a629bf37c78ef137bd6446540f43b771.tar.gz
initscripts-461803a5a629bf37c78ef137bd6446540f43b771.tar.bz2
initscripts-461803a5a629bf37c78ef137bd6446540f43b771.tar.xz
initscripts-461803a5a629bf37c78ef137bd6446540f43b771.zip
fix netprofile (#72903)
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b40ba1da..ec102d59 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -715,7 +715,7 @@ fi
# Boot time profiles. Yes, this should be somewhere else.
if grep -q "netprofile=" /proc/cmdline ; then
cmdline=`cat /proc/cmdline`
- for arg in cmdline ; do
+ for arg in $cmdline ; do
if [ "${arg##netprofile=}" != "${arg}" ]; then
[ -x /usr/sbin/redhat-config-network-cmd ] &&
/usr/sbin/redhat-config-network-cmd --profile ${arg##netprofile=}