/[vps]/baselayout-vserver/branches/baselayout-1_12/net-scripts/net/dhclient.sh
Gentoo

Diff of /baselayout-vserver/branches/baselayout-1_12/net-scripts/net/dhclient.sh

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

Revision 413 Revision 414
104 fi 104 fi
105 105
106 # Bring up DHCP for this interface (or alias) 106 # Bring up DHCP for this interface (or alias)
107 ebegin "Running dhclient" 107 ebegin "Running dhclient"
108 echo -e "${dhconf}" | start-stop-daemon --start --exec /sbin/dhclient \ 108 echo -e "${dhconf}" | start-stop-daemon --start --exec /sbin/dhclient \
109 --pidfile "${pidfile}" -- ${opts} -q -1 -pf "${pidfile}" 109 --pidfile "${pidfile}" -- ${opts} -q -1 -pf "${pidfile}" "${iface}"
110 eend $? || return 1 110 eend $? || return 1
111 111
112 # DHCP succeeded, show address retrieved 112 # DHCP succeeded, show address retrieved
113 local addr=$(interface_get_address "${iface}") 113 local addr=$(interface_get_address "${iface}")
114 einfo "${iface} received address ${addr}" 114 einfo "${iface} received address ${addr}"

Legend:
Removed from v.413  
changed lines
  Added in v.414

  ViewVC Help
Powered by ViewVC 1.1.20