#!/bin/sh PROG=/usr/bin/ocsinventory-agent #RUNDIR=/var/run #ENABLED_FILE=$RUNDIR/ocsinventory-client-enabled if [ ! -x "$PROG" ]; then exit 0 fi #if [ ! -f "$ENABLED_FILE" ]; then # perl -e \ # 'print localtime()." => Service disabled: not running the cron job\n"'\ # >> /var/log/ocsinventory-client/ocsinv.log # exit 0 #fi $PROG > /dev/null 2>&1