#!/bin/bash if [ -x /etc/init.d/xinetd ] ; then if pgrep -x xinetd >/dev/null ; then echo "Reloading xinetd..." ; /etc/init.d/xinetd reload ; else echo "Starting xinetd..." ; /etc/init.d/xinetd start ; fi ; fi # Sorry. I need to copy&paste all scripts from the normal agent to # the caching agent. This might better be done with RPM macros. But # that are very ugly if you want to do multi line shell scripts...