Magellan Linux

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

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

revision 1193 by niro, Thu Jan 27 20:41:29 2011 UTC revision 1227 by niro, Thu Feb 17 22:24:59 2011 UTC
# Line 114  checkconfig() Line 114  checkconfig()
114   rc_echo "using default programm /sbin/udhcpc"   rc_echo "using default programm /sbin/udhcpc"
115   DHCP_PROG="/sbin/udhcpc"   DHCP_PROG="/sbin/udhcpc"
116   fi   fi
117   [[ -z ${DHCP_START} ]] && DHCP_START="-T 10"   [[ -z ${DHCP_START} ]] && DHCP_START="-T10"
118   [[ -z ${DHCP_STOP} ]] && DHCP_STOP="-k"   [[ -z ${DHCP_STOP} ]] && DHCP_STOP="-k"
119   ;;   ;;
120    
# Line 405  config_routes() Line 405  config_routes()
405    
406   # only add and del are allowed   # only add and del are allowed
407   case ${method} in   case ${method} in
408   add) message="Adding route ${COLBLUE}${route}${COLDEFAULT} ..." ;;   add) message="Adding" ;;
409   del) message="Removing route ${COLBLUE}${route}${COLDEFAULT} ..." ;;   del) message="Removing" ;;
410   *)   *)
411   rc_echo "config_routes: unsupported \$method '${method}'."   rc_echo "config_routes: unsupported \$method '${method}'."
412   exit 1   exit 1
# Line 422  config_routes() Line 422  config_routes()
422   case "${route}" in   case "${route}" in
423   \#*|"") continue ;;   \#*|"") continue ;;
424   esac   esac
425   rc_print "${message}"   rc_print "${message} route ${COLBLUE}${route}${COLDEFAULT} ..."
426   route "${method}" "${route}"   # do not esacpe ${route} or it breaks!
427     route "${method}" ${route}
428   evaluate_retval   evaluate_retval
429   done   done
430   fi   fi

Legend:
Removed from v.1193  
changed lines
  Added in v.1227