summaryrefslogtreecommitdiffstats
path: root/etc/rc.subr
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2006-11-26 19:03:19 +0000
committerflz <flz@FreeBSD.org>2006-11-26 19:03:19 +0000
commit15f017fe4d7096aac7a105f8253e1cfad3d6187e (patch)
tree8b160e2b1e9c2fcafb98f508b36a8e2711225d12 /etc/rc.subr
parent0f8fa3629e664a8cdfd6022cc1840102e3ff8c2c (diff)
downloadFreeBSD-src-15f017fe4d7096aac7a105f8253e1cfad3d6187e.zip
FreeBSD-src-15f017fe4d7096aac7a105f8253e1cfad3d6187e.tar.gz
Remove leading dollar sign in rcvar command output.
There's no dollar use in variable assignment in sh. Assuming this is can be expected behavior for some people, this change won't be MFC'ed to RELENG_6. Discussed with: yar on -rc
Diffstat (limited to 'etc/rc.subr')
-rw-r--r--etc/rc.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index e5bf18d..3df44d2 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -808,9 +808,9 @@ $command $rc_flags $command_args"
echo "# $name"
if [ -n "$rcvar" ]; then
if checkyesno ${rcvar}; then
- echo "\$${rcvar}=YES"
+ echo "${rcvar}=YES"
else
- echo "\$${rcvar}=NO"
+ echo "${rcvar}=NO"
fi
fi
;;
OpenPOWER on IntegriCloud