aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-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=}