"Fossies" - the Fresh Open Source Software Archive 
Member "leafnode-1.12.0/leafnode.cron.daily.in" (30 Jan 2009, 935 Bytes) of package /linux/misc/leafnode-1.12.0.tar.xz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 #! /bin/sh
2
3 # @configure_input@
4
5 # leafnode.cron.daily -- cron process to run texpire once a day
6 # (C) 2002 - 2004 by Matthias Andree
7
8 # This program is free software; you can redistribute it and/or modify it
9 # under the terms of version 2 of the GNU Lesser General Public License as
10 # published by the Free Software Foundation.
11
12 # This program is distributed in the hope that it will be useful, but WITHOUT
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
15 # for more details.
16
17 # You should have received a copy of the GNU Lesser General Public License
18 # along with this library; if not, write to the Free Software Foundation,
19 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
20
21 set -e
22
23 if [ -f @SPOOLDIR@/leaf.node/groupinfo ] ; then
24 test -x @sbindir@/texpire && env LN_LOCK_TIMEOUT=0 @sbindir@/texpire
25 else
26 exit 0
27 fi