Deleted Added
full compact
rc.subr (119166) rc.subr (119170)
1# $NetBSD: rc.subr,v 1.49 2002/05/21 12:31:01 lukem Exp $
1# $NetBSD: rc.subr,v 1.49 2002/05/21 12:31:01 lukem Exp $
2# $FreeBSD: head/etc/rc.subr 119166 2003-08-20 06:15:18Z mtm $
2# $FreeBSD: head/etc/rc.subr 119170 2003-08-20 06:50:34Z mtm $
3#
4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
5# All rights reserved.
6#
7# This code is derived from software contributed to The NetBSD Foundation
8# by Luke Mewburn.
9#
10# Redistribution and use in source and binary forms, with or without

--- 908 unchanged lines hidden (view full) ---

919}
920
921#
922# info message
923# Display informational message to stdout and log to syslog.
924#
925info()
926{
3#
4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
5# All rights reserved.
6#
7# This code is derived from software contributed to The NetBSD Foundation
8# by Luke Mewburn.
9#
10# Redistribution and use in source and binary forms, with or without

--- 908 unchanged lines hidden (view full) ---

919}
920
921#
922# info message
923# Display informational message to stdout and log to syslog.
924#
925info()
926{
927 if [ -x /usr/bin/logger ]; then
928 logger "$0: INFO: $*"
929 fi
930 echo "$0: INFO: $*"
927 case ${rc_info} in
928 [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
929 if [ -x /usr/bin/logger ]; then
930 logger "$0: INFO: $*"
931 fi
932 echo "$0: INFO: $*"
933 ;;
934 esac
931}
932
933#
934# debug message
935# If debugging is enabled in rc.conf output message to stderr.
936# BEWARE that you don't call any subroutine that itself calls this
937# function.
938#

--- 315 unchanged lines hidden ---
935}
936
937#
938# debug message
939# If debugging is enabled in rc.conf output message to stderr.
940# BEWARE that you don't call any subroutine that itself calls this
941# function.
942#

--- 315 unchanged lines hidden ---