/[baselayout]/branches/baselayout-1_12/net-scripts/net.modules.d/udhcpc
Gentoo

Diff of /branches/baselayout-1_12/net-scripts/net.modules.d/udhcpc

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

Revision 1752 Revision 1753
101 # Check for a valid ip 101 # Check for a valid ip
102 [[ ${x} == *.*.*.* ]] && opts="${opts} --request=${x}" 102 [[ ${x} == *.*.*.* ]] && opts="${opts} --request=${x}"
103 fi 103 fi
104 fi 104 fi
105 105
106 if [[ ${background} == "yes" ]]; then
107 eval udhcpc "${opts}" --script="${MODULES_DIR}/helpers.d/udhcpc-wrapper" \
108 --pidfile="${pidfile}" --interface="${iface}" &>/dev/null &
109 eend 0
110 go_background
111 fi
112
113 x=$( eval udhcpc "${opts}" --now --pidfile="${pidfile}" \ 106 x=$( eval udhcpc "${opts}" --now --pidfile="${pidfile}" \
114 --interface="${iface}" \ 107 --interface="${iface}" \
115 --script="${MODULES_DIR}/helpers.d/udhcpc-wrapper" 2>&1 \ 108 --script="${MODULES_DIR}/helpers.d/udhcpc-wrapper" 2>&1 \
116 | egrep -v '^info,' ) 109 | egrep -v '^info,' )
117 # We just check the last 5 letters 110 # We just check the last 5 letters

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

  ViewVC Help
Powered by ViewVC 1.1.20