From 01b373bed7d45b1187a697b0f5528278a5b631c6 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Mon, 8 Mar 2004 12:02:07 +0000 Subject: [PATCH] Fix skipping scripts with given keywords. Proper syntax is '-s keyword1 -s keyword2', not '-s keyword1 keyword2'. --- etc/rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/rc b/etc/rc index fa9a850dd4f..748f669f0cc 100644 --- a/etc/rc +++ b/etc/rc @@ -66,9 +66,9 @@ else fi os=`eval ${CMD_OSTYPE}` -skip="nostart" -[ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] && skip="$skip nojail" -files=`rcorder -k ${os} -s ${skip} /etc/rc.d/* 2>/dev/null` +skip="-s nostart" +[ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] && skip="$skip -s nojail" +files=`rcorder -k ${os} ${skip} /etc/rc.d/* 2>/dev/null` for _rc_elem in ${files}; do run_rc_script ${_rc_elem} ${_boot}