Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
fam
init.fam
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File init.fam of Package fam
#! /bin/sh # Copyright (c) 1995-1998 SuSE GmbH Nuernberg, Germany. # # Author: adrian@suse.de, template by ro@suse.de # # /etc/init.d/fam # and its symbolic link # /usr/sbin/rcfam # ### BEGIN INIT INFO # Provides: fam # Required-Start: $remote_fs $time $named $syslog $portmap # Required-Stop: $null # Default-Start: 3 5 # Default-Stop: 0 1 2 4 6 # Description: file access monitoring # Short-Description: file access monitoring ### END INIT INFO . /etc/rc.status . /etc/sysconfig/fam # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test -x /usr/sbin/famd || exit 0 rc_reset case "$1" in start) [ -n "$FAM_POLLING_INTERVAL" -a -n "$FAM_INACTIVE_TIMEOUT" ] || exit 0 echo -n "Starting File Access Monitoring Daemon" FLAGS="-t $FAM_POLLING_INTERVAL -T $FAM_INACTIVE_TIMEOUT" [ "$FAM_POLLING" == "yes" -o "$FAM_POLLING" == "YES" ] || \ FLAGS="$FLAGS -l" [ "$FAM_LOCAL_ONLY" == "yes" -o "$FAM_LOCAL_ONLY" == "YES" ] && \ FLAGS="$FLAGS -L" startproc /usr/sbin/famd $FLAGS rc_status -v ;; stop) echo -n "Shutting down File Access Monitoring Daemon" killproc -TERM /usr/sbin/famd rc_status -v ;; restart) ## If first returns OK call the second, if first or ## second command fails, set echo return value. $0 stop && $0 start rc_status ;; try-restart) $0 status if test $? = 0; then $0 restart else rc_reset # Not running is not a failure. fi # Remember status and be quiet rc_status ;; force-reload) ## If first returns OK call the second, if first or ## second command fails, set echo return value. $0 stop; sleep 1 && $0 start rc_status ;; reload) ;; status) echo -n "Checking for File Access Monitoring Daemon: " checkproc /usr/sbin/famd rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|reload}" exit 1 ;; esac rc_exit
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor