summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2010-12-20 09:26:51 -0500
committerJamie McClelland <jm@mayfirst.org>2010-12-20 09:26:51 -0500
commit8ea1266d0dfd68a7f4b72d441226a96eaef35748 (patch)
tree99c254c8ff4710f7737066f7a4cf204dffba6685
parentca9b8d2ac9cb21d9a175bf18b95696ba01485a87 (diff)
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.
-rw-r--r--examples/monkeysphere-monitor-keys15
1 files 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;