From 8ea1266d0dfd68a7f4b72d441226a96eaef35748 Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Mon, 20 Dec 2010 09:26:51 -0500 Subject: more precise description of file::ChangeNotify's behavior with regard to different operating systems. And, monitoring /etc/passwd is not recommended, so removed from description. --- examples/monkeysphere-monitor-keys | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/examples/monkeysphere-monitor-keys b/examples/monkeysphere-monitor-keys index d121828..78df88e 100644 --- a/examples/monkeysphere-monitor-keys +++ b/examples/monkeysphere-monitor-keys @@ -5,17 +5,10 @@ # designed to be started at system start time and should run # as root. # -# Optionally, pass the path to a file that is changed every -# time a user is added and this script will re-load the -# list of directories to monitor to include new additions. -# -# If liblinux-inotify2-perl is installed, then the Linux -# inotify method is used to determine if a file has changed. -# Otherwise, a generic/cross platform library is used. -# -# Known bugs: with inotify, if you pass /etc/passwd as the -# first argument, the script will not detect changes to the -# file when a new user is added. +# File::ChangeNotify is cross platform - it will choose an +# sub class for monitoring file system changes appropriate to +# your operating system (if you are running Linux, +# liblinux-inotify2-perl is recommended). use strict; use File::ChangeNotify; -- cgit v1.2.3