/[pdpsoft]/nl.nikhef.pdp.fetchcrl/trunk/fetch-crl-boot.init
ViewVC logotype

Diff of /nl.nikhef.pdp.fetchcrl/trunk/fetch-crl-boot.init

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2277 by davidg, Mon Apr 11 06:54:34 2011 UTC revision 2690 by davidg, Tue Mar 4 16:26:06 2014 UTC
# Line 24  lockfile=/var/lock/subsys/fetch-crl-boot Line 24  lockfile=/var/lock/subsys/fetch-crl-boot
24  RETVAL=0  RETVAL=0
25    
26  start() {  start() {
27          action $"Running fetch-crl on boot: " /usr/sbin/fetch-crl -q          if [ ! -f $lockfile ]; then
28          RETVAL=$?           action $"Running fetch-crl on boot: " /usr/sbin/fetch-crl -q
29          [ "$RETVAL" = 0 ] && touch $lockfile           RETVAL=$?
30             [ "$RETVAL" = 0 ] && touch $lockfile
31            else
32             RETVAL=0
33            fi
34  }  }
35    
36  stop() {  stop() {

Legend:
Removed from v.2277  
changed lines
  Added in v.2690

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28