Deleted Added
full compact
rc.subr (223292) rc.subr (223298)
1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $
1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $
2# $FreeBSD: head/etc/rc.subr 223292 2011-06-19 11:42:48Z jilles $
2# $FreeBSD: head/etc/rc.subr 223298 2011-06-19 15:23:32Z jilles $
3#
4# Copyright (c) 1997-2004 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

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

1727 fi
1728 done
1729 ;;
1730 esac
1731
1732 return 0
1733}
1734
3#
4# Copyright (c) 1997-2004 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

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

1727 fi
1728 done
1729 ;;
1730 esac
1731
1732 return 0
1733}
1734
1735fi
1736
1737# check_kern_features mib
1738# Return existence of kern.features.* sysctl MIB as true or
1739# false. The result will be cached in $_rc_cache_kern_features_
1740# namespace. "0" means the kern.features.X exists.
1741
1742check_kern_features()
1743{
1744 local _v

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

1770 _mode=$3
1771
1772 case $_mode in
1773 1) [ -n "$_var" ] && echo "$_msg" ;;
1774 *) [ -z "$_var" ] && echo -n "$_msg" && eval "$1=finished" ;;
1775 esac
1776}
1777
1735# check_kern_features mib
1736# Return existence of kern.features.* sysctl MIB as true or
1737# false. The result will be cached in $_rc_cache_kern_features_
1738# namespace. "0" means the kern.features.X exists.
1739
1740check_kern_features()
1741{
1742 local _v

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

1768 _mode=$3
1769
1770 case $_mode in
1771 1) [ -n "$_var" ] && echo "$_msg" ;;
1772 *) [ -z "$_var" ] && echo -n "$_msg" && eval "$1=finished" ;;
1773 esac
1774}
1775
1776fi # [ -z "${_rc_subr_loaded}" ]
1777
1778_rc_subr_loaded=:
1778_rc_subr_loaded=: