/[smeserver]/rpms/initscripts/sme8/initscripts-8.45.33-bug6400.patch
ViewVC logotype

Contents of /rpms/initscripts/sme8/initscripts-8.45.33-bug6400.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sat Sep 17 21:24:24 2011 UTC (12 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Upstream import

1 diff -up initscripts-8.45.33/rc.d/init.d/network.bug6400 initscripts-8.45.33/rc.d/init.d/network
2 --- initscripts-8.45.33/rc.d/init.d/network.bug6400 2010-10-13 15:36:48.000000000 +0200
3 +++ initscripts-8.45.33/rc.d/init.d/network 2011-06-12 09:53:24.000000000 +0200
4 @@ -200,7 +200,7 @@ case "$1" in
5 # If this is a final shutdown/halt and there is an iSCSI session,
6 # do not stop the service.
7 if [ "$RUNLEVEL" = "6" -o "$RUNLEVEL" = "0" -o "$RUNLEVEL" = "1" ]; then
8 - if [ `find /sys/class/iscsi_session/ -mindepth 1 -maxdepth 1 -type d | wc -l` -ge 1 ]; then
9 + if [ $(ls -d /sys/class/iscsi_session/*/. 2>/dev/null | wc -l) -ge 1 ]; then
10 exit 1
11 fi
12 fi

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed