|
Lines 39-44
Link Here
|
| 39 |
. /etc/rc.status |
39 |
. /etc/rc.status |
| 40 |
rc_reset |
40 |
rc_reset |
| 41 |
|
41 |
|
|
|
42 |
echo -e "\n\n\nStarting new debug information" >> /tmp/ltdebug |
| 43 |
|
| 42 |
cd /etc/sysconfig/network |
44 |
cd /etc/sysconfig/network |
| 43 |
if ! . scripts/functions 2>/dev/null; then |
45 |
if ! . scripts/functions 2>/dev/null; then |
| 44 |
echo -n "Network: file /etc/sysconfig/network/scripts/functions is missing." |
46 |
echo -n "Network: file /etc/sysconfig/network/scripts/functions is missing." |
|
Lines 286-300
Link Here
|
| 286 |
echo Setting up network interfaces: |
288 |
echo Setting up network interfaces: |
| 287 |
for IFACE in ${INTERFACE:- $LO |
289 |
for IFACE in ${INTERFACE:- $LO |
| 288 |
$PHYSICAL_IFACES }; do |
290 |
$PHYSICAL_IFACES }; do |
|
|
291 |
echo Trying to bring up interface $IFACE at `date` >> /tmp/ltdebug |
| 289 |
$FAKE ifup $CONFIG $IFACE -o ${BE_QUIET:+quiet} rc $MODE |
292 |
$FAKE ifup $CONFIG $IFACE -o ${BE_QUIET:+quiet} rc $MODE |
| 290 |
RET=$? |
293 |
RET=$? |
| 291 |
debug && printf " %-9s returned %s\n" $IFACE $RET |
294 |
debug && printf " %-9s returned %s\n" $IFACE $RET |
| 292 |
case "$RET" in |
295 |
case "$RET" in |
| 293 |
$R_SUCCESS) |
296 |
$R_SUCCESS) |
|
|
297 |
echo $IFACE is up at `date` >> /tmp/ltdebug |
| 294 |
SUCCESS_IFACES="$SUCCESS_IFACES $IFACE" |
298 |
SUCCESS_IFACES="$SUCCESS_IFACES $IFACE" |
| 295 |
rc_status -v1 |
299 |
rc_status -v1 |
| 296 |
;; |
300 |
;; |
| 297 |
$R_DHCP_BG) |
301 |
$R_DHCP_BG) |
|
|
302 |
echo $IFACE is using DHCP at `date` >> /tmp/ltdebug |
| 298 |
startmode=waiting |
303 |
startmode=waiting |
| 299 |
rc_startmode="${esc}[1A${stat}${attn}$startmode${norm}" |
304 |
rc_startmode="${esc}[1A${stat}${attn}$startmode${norm}" |
| 300 |
echo -en "$rc_startmode" 1>&2 |
305 |
echo -en "$rc_startmode" 1>&2 |