/[smeserver]/rpms/initscripts/sme8/initscripts-8.45.19.EL-smeserver-service.patch
ViewVC logotype

Contents of /rpms/initscripts/sme8/initscripts-8.45.19.EL-smeserver-service.patch

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


Revision 1.2 - (show annotations) (download)
Tue Apr 14 14:37:56 2009 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
CentOS 5.3 sources

1 --- initscripts-8.45.17.EL/service.smeserver-service 2006-08-01 13:56:57.000000000 -0600
2 +++ initscripts-8.45.17.EL/service 2007-12-20 11:46:25.000000000 -0700
3 @@ -58,6 +58,18 @@
4 esac
5 done
6
7 +runlevel=$(runlevel | cut -d" " -f2)
8 +if [ "$runlevel" = "7" ]
9 +then
10 + script=$(ls /etc/rc7.d/S??${SERVICE} 2>/dev/null | head -1)
11 + if [ -z "$scripts" ]
12 + then
13 + echo $"${SERVICE}: unrecognized service" >&2
14 + exit 0
15 + fi
16 + exec env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "$script" ${OPTIONS}
17 +fi
18 +
19 if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
20 env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
21 else

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