/[baselayout]/trunk/net-scripts/net.modules.d/pump
Gentoo

Diff of /trunk/net-scripts/net.modules.d/pump

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1752 Revision 1753
86 opts="${opts} --script \"${svclib}/net.modules.d/helpers.d/pump-wrapper\"" 86 opts="${opts} --script \"${svclib}/net.modules.d/helpers.d/pump-wrapper\""
87 opts="${opts} --keep-up --interface ${iface}" 87 opts="${opts} --keep-up --interface ${iface}"
88 88
89 # Bring up DHCP for this interface (or alias) 89 # Bring up DHCP for this interface (or alias)
90 ebegin "Running pump" 90 ebegin "Running pump"
91
92 if [[ ${background} == "yes" ]]; then
93 eval pump "${opts}" &
94 eend 0
95 go_background
96 fi
97
98 eval pump "${opts}" 91 eval pump "${opts}"
99 eend $? || return $? 92 eend $? || return $?
100 93
101 # pump succeeded, show address retrieved 94 # pump succeeded, show address retrieved
102 local addr=$( interface_get_address "${iface}" ) 95 local addr=$( interface_get_address "${iface}" )

Legend:
Removed from v.1752  
changed lines
  Added in v.1753

  ViewVC Help
Powered by ViewVC 1.1.20