Magellan Linux

Diff of /alx-src/branches/alxconf-060/init.d/alxsettings

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

revision 2009 by niro, Mon May 9 15:41:55 2011 UTC revision 2010 by niro, Mon May 9 15:44:33 2011 UTC
# Line 705  preliminary_network() Line 705  preliminary_network()
705   # keeping like always safe:   # keeping like always safe:
706   # no network should be startet here,   # no network should be startet here,
707   # so we can delete all pid files if one exists   # so we can delete all pid files if one exists
708   if ps -A|grep dhcpcd > /dev/null   if ps -A|grep udhcpc > /dev/null
709   then   then
710   echo -e ${COLMAGENTA}"Forcing network down"${COLDEFAULT}   echo -e ${COLMAGENTA}"Forcing network down"${COLDEFAULT}
711   dhcpcd -k   killall udhcpc
712   sleep 1   sleep 1
  else  
  rm -f /var/run/dhcpcd-eth?.pid  
713   fi   fi
714   [[ ${ALX_CONFD_NETWORKING} = true ]] && [[ ${RUNLEVEL} != S ]] && \   [[ ${ALX_CONFD_NETWORKING} = true ]] && [[ ${RUNLEVEL} != S ]] && \
715   ${rc_base}/init.d/network stop   ${rc_base}/init.d/network stop

Legend:
Removed from v.2009  
changed lines
  Added in v.2010