/[smeserver]/rpms/initscripts/sme8/initscripts-8.45.25-smepatches.patch
ViewVC logotype

Contents of /rpms/initscripts/sme8/initscripts-8.45.25-smepatches.patch

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


Revision 1.2 - (show annotations) (download)
Wed Apr 27 15:06:15 2011 UTC (13 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import of initscripts-8.45.33-1.el5.centos

1 diff -up initscripts-8.45.25/service.smepatches initscripts-8.45.25/service
2 --- initscripts-8.45.25/service.smepatches 2008-11-13 08:48:37.000000000 -0700
3 +++ initscripts-8.45.25/service 2009-04-14 09:03:43.000000000 -0600
4 @@ -58,6 +58,18 @@ while [ $# -gt 0 ]; do
5 esac
6 done
7
8 +runlevel=$(runlevel | cut -d" " -f2)
9 +if [ "$runlevel" = "7" ]
10 +then
11 + script=$(ls /etc/rc7.d/S??${SERVICE} 2>/dev/null | head -1)
12 + if [ -z "$scripts" ]
13 + then
14 + echo $"${SERVICE}: unrecognized service" >&2
15 + exit 0
16 + fi
17 + exec env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "$script" ${OPTIONS}
18 +fi
19 +
20 if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
21 env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
22 else

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