Magellan Linux

Diff of /trunk/busybox-initscripts/rc/network

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

revision 1274 by niro, Thu Mar 10 20:25:17 2011 UTC revision 1275 by niro, Fri May 6 22:09:19 2011 UTC
# Line 487  networking_start() Line 487  networking_start()
487   ${CURS_UP}   ${CURS_UP}
488   ${SET_WWCOL}   ${SET_WWCOL}
489   rc_echo "[DHCP]"   rc_echo "[DHCP]"
490   loadproc "${DHCP_PROG}" "${DHCP_START}" "${iface}"   loadproc ${DHCP_PROG} ${DHCP_START} "${iface}"
491   ;;   ;;
492   static|STATIC)   static|STATIC)
493   ${CURS_UP}   ${CURS_UP}
# Line 586  networking_stop() Line 586  networking_stop()
586   fi   fi
587    
588   # shutdown dhcp-daemon   # shutdown dhcp-daemon
589   if [[ ${NETWORKING} = dhcp ]] && [[ -n $(pidof ${DHCP_PROG}) ]]   if [[ ${NETWORKING} = dhcp ]] && [[ -n $(pidof $(basename ${DHCP_PROG})) ]]
590   then   then
591   rc_print "Stopping the dhcp-daemon ..."   rc_print "Stopping the dhcp-daemon ..."
592   ${CURS_UP}   ${CURS_UP}

Legend:
Removed from v.1274  
changed lines
  Added in v.1275