From 433398f14f36f3f4cc4ab3e128c16f8ff3ef5dfd Mon Sep 17 00:00:00 2001 From: Thierry N Date: Mon, 21 Sep 2009 18:40:22 +0200 Subject: Ajout de fam#2.7.0-1 --- base/fam/famd | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 base/fam/famd (limited to 'base/fam/famd') diff --git a/base/fam/famd b/base/fam/famd new file mode 100644 index 000000000..6e20dd1b0 --- /dev/null +++ b/base/fam/famd @@ -0,0 +1,37 @@ +#!/bin/sh +# Begin $rc_base/init.d/famd + +# Based on sysklogd script from LFS-3.1 and earlier. +# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org + +#$Id: famd,v 1.1 2008/03/11 20:33:25 install Exp $ + + +. /etc/sysconfig/rc +. $rc_functions + +case "$1" in + start) + boot_mesg "Starting File Alteration Monitor..." + loadproc /usr/sbin/famd -T 0 -c /etc/fam/fam.conf + ;; + + stop) + boot_mesg "Stopping File Atleration Monitor..." + killproc /usr/sbin/famd + ;; + + + restart) + $0 stop + sleep 1 + $0 start + ;; + + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac + +# End $rc_base/init.d/famd -- cgit v1.2.3-70-g09d2