/[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.2 - (hide annotations) (download)
Tue Jun 24 16:35:25 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Initial import of initscripts-8.45.19.EL-1.el5.centos.1.src.rpm

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