aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-04 14:44:13 +0000
committerRoy Marples <roy@marples.name>2007-10-04 14:44:13 +0000
commit24e0790e388ae76fb2dde5fbd719ba3dc6b0325b (patch)
tree072d63a1a10184b9e3011eb583acc05e3b1f6b48
parent53176d12ad69757a303609f8e4be5ef8d589546e (diff)
Fix rc-help regarding per runlevel config files
-rwxr-xr-xsh/rc-help.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/sh/rc-help.sh b/sh/rc-help.sh
index 5e2de1c7..6c568f33 100755
--- a/sh/rc-help.sh
+++ b/sh/rc-help.sh
@@ -234,9 +234,12 @@ printf "
"
fi
-printf " /etc/conf.d/rc${NL:- } /etc/conf.d/rc.${SOFTLEVEL}"
-printf " /etc/conf.d/${SERVICE}${NL} /etc/conf.d/${SERVICE}.${SOFTLEVEL}"
-printf " /etc/rc.conf"
+printf " /etc/conf.d/rc
+ /etc/conf.d/rc.\${RC_SOFTLEVEL}
+ /etc/conf.d/${SERVICE}
+ /etc/conf.d/${SERVICE}.\${RC_SOFTLEVEL}
+ /etc/rc.conf
+ \${RC_SOFTLEVEL} denotes the name of the runlevel"
if [ "${BE_VERBOSE}" = "yes" ] ; then
printf "