Package-Manager: portage-2.1.2.2
# ChangeLog for net-misc/openvpn
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.106 2007/03/04 16:28:05 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.107 2007/03/09 15:34:47 uberlord Exp $
+
+ 09 Mar 2007; Roy Marples <uberlord@gentoo.org> files/openvpn-2.1.init:
+ Hide ifconfig errors on FreeBSD.
*openvpn-2.1_rc2 (04 Mar 2007)
return 1
fi
- if ! ifconfig "${ifname}" >/dev/null ; then
+ if ! ifconfig "${ifname}" >/dev/null 2>/dev/null ; then
# Try and create it
echo > /dev/"${ifname}" >/dev/null
fi
- if ! ifconfig "${ifname}" >/dev/null ; then
+ if ! ifconfig "${ifname}" >/dev/null 2>/dev/null ; then
eerror "${VPNCONF} requires interface ${ifname}" \
"but that does not exist"
return 1