summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc.subr4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index ed69e4e..d041cf9 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -900,8 +900,10 @@ debug()
{
case ${rc_debug} in
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
+ if [ -x /usr/bin/logger ]; then
+ logger "$0: INFO: $*"
+ fi
echo 1>&2 "$0: DEBUG: $*"
- return
;;
esac
}
OpenPOWER on IntegriCloud