/[smeserver]/rpms/initscripts/sme7/smeserver-initscripts-service.patch
ViewVC logotype

Annotation of /rpms/initscripts/sme7/smeserver-initscripts-service.patch

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


Revision 1.4 - (hide annotations) (download)
Mon Aug 24 14:53:53 2009 UTC (15 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
FILE REMOVED
Import CentOS 4.8 sources

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' initscripts-7.93.25.EL/service mezzanine_patched_initscripts-7.93.25.EL/service
2     --- initscripts-7.93.25.EL/service 2005-12-03 06:00:44.000000000 +1100
3     +++ mezzanine_patched_initscripts-7.93.25.EL/service 2006-11-17 16:44:18.556439452 +1100
4     @@ -60,6 +60,20 @@
5     esac
6     done
7    
8     +runlevel=$(runlevel | cut -d" " -f2)
9     +
10     +if [ "$runlevel" = "7" ]
11     +then
12     + if ls /etc/rc7.d/S??${SERVICE} >/dev/null 2>/dev/null
13     + then
14     + script=$(ls /etc/rc7.d/S??${SERVICE} | head -1)
15     + exec env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "$script" ${OPTIONS}
16     + fi
17     +
18     + echo "'${SERVICE}' is not a valid service name" 1>&2
19     + exit 0
20     +fi
21     +
22     if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
23     env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
24     else

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