/[baselayout]/trunk/sbin/rc-services.sh
Gentoo

Diff of /trunk/sbin/rc-services.sh

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

Revision 2090 Revision 2091
786 else 786 else
787 services=( "${SVCNAME}" ) 787 services=( "${SVCNAME}" )
788 fi 788 fi
789 fi 789 fi
790 790
791 if is_runlevel_stop ; then 791 if is_net_up || is_runlevel_stop ; then
792 for x in $(dolisting "${svcdir}/started/net.*") \ 792 for x in $(dolisting "${svcdir}/started/net.*") \
793 $(dolisting "${svcdir}/inactive/net.*") ; do 793 $(dolisting "${svcdir}/inactive/net.*") ; do
794 net_services="${net_services} ${x##*/}" 794 net_services="${net_services} ${x##*/}"
795 done 795 done
796 elif is_runlevel_start || ! is_net_up ; then 796 else
797 for x in $(dolisting "/etc/runlevels/${BOOTLEVEL}/net.*") \ 797 for x in $(dolisting "/etc/runlevels/${BOOTLEVEL}/net.*") \
798 $(dolisting "/etc/runlevels/${SOFTLEVEL}/net.*") ; do 798 $(dolisting "/etc/runlevels/${SOFTLEVEL}/net.*") ; do
799 net_services="${net_services} ${x##*/}" 799 net_services="${net_services} ${x##*/}"
800 done 800 done
801 fi 801 fi

Legend:
Removed from v.2090  
changed lines
  Added in v.2091

  ViewVC Help
Powered by ViewVC 1.1.20