hi, I think there is a bug in famd, there is what in my /etc/rc.d/fam
anyone can help me?

#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

PID=`pidof -o %PPID /usr/sbin/famd`
case "$1" in
  start)
    stat_busy "Starting File Alteration Monitor"
    if [ ! -f /var/run/daemons/fam ]; then
~~~~~~~~~~~~~~~~~~~~~~~~~there should be portmap?
       stat_fail
       echo "ERROR: fam is not running"
       exit 1
    fi
    if [ -z "$PID" ]; then
       /usr/sbin/famd -T 0 -c /etc/fam/fam.conf
    fi
    if [ ! -z "$PID" -o $? -gt 0 ]; then
      stat_fail
    else
      add_daemon fam

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to