diff options
Diffstat (limited to 'net-scripts/net.modules.d/helpers.d/pump-wrapper')
-rwxr-xr-x | net-scripts/net.modules.d/helpers.d/pump-wrapper | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net-scripts/net.modules.d/helpers.d/pump-wrapper b/net-scripts/net.modules.d/helpers.d/pump-wrapper index 981480d..60d1357 100755 --- a/net-scripts/net.modules.d/helpers.d/pump-wrapper +++ b/net-scripts/net.modules.d/helpers.d/pump-wrapper @@ -1,7 +1,6 @@ #!/bin/bash # Copyright (c) 2005-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 - # Contributed by Roy Marples (uberlord@gentoo.org) [[ $1 == "renewal" ]] && exit 0 @@ -9,24 +8,25 @@ action="$1" interface="$2" -. /sbin/functions.sh +[[ ${RC_GOT_FUNCTIONS} != "yes" ]] && source /sbin/functions.sh +RC_QUIET_STDOUT="yes" if [[ ${action} == "up" ]] ; then - . "${svclib}/net.modules.d/helpers.d/module-loader" + source "${svclib}/net.modules.d/helpers.d/module-loader" # Map MAC address variables to interface variables - macnet_pre_start "${interface}" 1>/dev/null + macnet_pre_start "${interface}" # Map wireless ESSID variables to interface variables if [[ -n ${wireless_module} ]] ; then if wireless_exists "${interface}" ; then - essidnet_pre_start "${interface}" 1>/dev/null + essidnet_pre_start "${interface}" fi fi system_dns_extra "${interface}" "${statedir}/${interface}/resolv.conf" fi -. "${svclib}/net.modules.d/helpers.d/dhcp-state" +source "${svclib}/net.modules.d/helpers.d/dhcp-state" -# vim:ts=4 +# vim: ts=4 : |