diff options
author | pjd <pjd@FreeBSD.org> | 2004-03-08 12:02:07 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-03-08 12:02:07 +0000 |
commit | 6e71052f815e58244195398ee50b9c69e8454256 (patch) | |
tree | 6a212c9038d02304b420109944fb72c6261d5893 /etc | |
parent | b817fe9eca36126df6a72ab12f89fcd290a7f67c (diff) | |
download | FreeBSD-src-6e71052f815e58244195398ee50b9c69e8454256.zip FreeBSD-src-6e71052f815e58244195398ee50b9c69e8454256.tar.gz |
Fix skipping scripts with given keywords.
Proper syntax is '-s keyword1 -s keyword2', not '-s keyword1 keyword2'.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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} |