From 461803a5a629bf37c78ef137bd6446540f43b771 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 9 Dec 2002 17:28:45 +0000 Subject: fix netprofile (#72903) --- rc.d/rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d') 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=} -- cgit v1.2.1