/[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.1 - (hide annotations) (download)
Tue Jun 12 16:26:34 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: initscripts-7_93_29_EL-1_el4_sme, initscripts-7_93_31_EL-2_centos4_el4_sme
Import on branch sme7 of package initscripts-7.93.29.EL-1.el4.sme.src.rpm

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