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

Annotation of /rpms/initscripts/sme8/initscripts-8.45.17.EL-smeserver-service.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Dec 20 19:37:23 2007 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: initscripts-8_45_17_EL-1_el5_sme_1
apply sme patches

1 slords 1.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