From 9b045d48eb82115df30fe367258e5069d6c4f47e Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sun, 7 Mar 2010 18:44:01 -0600 Subject: [PATCH] Want root only for commanding rcscripts; don't force it --- rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rc b/rc index 96160c7..3e203a0 100755 --- a/rc +++ b/rc @@ -2,7 +2,7 @@ # Source shlib _root="$(dirname "${0}")/.."; . "${_root}/lib/sh/env.sh" -want root ansi log +want ansi log . /etc/rc.subr @@ -79,6 +79,7 @@ rc_statii() { rc_action() { # 1: action # 2: nameglob + want root rc_list | grep "/${2}$" | while read rcd; do "${rcd}" "${1}"; done } -- 2.42.0