diff options
Diffstat (limited to 'etc/rc.subr')
-rw-r--r-- | etc/rc.subr | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/etc/rc.subr b/etc/rc.subr index c45938c..34c4816 100644 --- a/etc/rc.subr +++ b/etc/rc.subr @@ -924,10 +924,14 @@ warn() # info() { - if [ -x /usr/bin/logger ]; then - logger "$0: INFO: $*" - fi - echo "$0: INFO: $*" + case ${rc_info} in + [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) + if [ -x /usr/bin/logger ]; then + logger "$0: INFO: $*" + fi + echo "$0: INFO: $*" + ;; + esac } # |