/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-condrestart.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-condrestart.patch

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


Revision 1.2 - (hide annotations) (download)
Tue Feb 18 06:21:35 2014 UTC (10 years, 9 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove obsolete patch files

1 charliebrady 1.1 --- e-smith-base-5.2.0/root/etc/rc.d/init.d/e-smith-service.condrestart 2010-07-19 20:19:56.000000000 -0400
2     +++ e-smith-base-5.2.0/root/etc/rc.d/init.d/e-smith-service 2010-07-19 20:20:24.000000000 -0400
3     @@ -50,14 +50,16 @@
4    
5     STATUS=$( /sbin/e-smith/db configuration getprop ${SERVICE} status )
6    
7     -case $1 in
8     - *start)
9     - if [ "${STATUS}" != "enabled" ]
10     - then
11     +if [ "${STATUS}" != "enabled" ]
12     +then
13     + case $1 in
14     + condrestart)
15     + exit 0
16     + start)
17     exit 99
18     - fi
19     ;;
20     -esac
21     + esac
22     +fi
23    
24     if [ -f ${INITSCRIPT} ]
25     then

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