Windows: disable afsdhook.dll reload by daemon
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 15 Feb 2012 05:06:47 +0000 (00:06 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 15 Feb 2012 06:32:43 +0000 (22:32 -0800)
commitf38780b38d6097832b6d49453a0a47044bc06903
tree0472f60e3068654f4b5b4cac456d389597cd4297
parentfcc8244095a9cfb5235b39afc25c8817167e895c
Windows: disable afsdhook.dll reload by daemon

The daemon thread's loading and unloading of afsdhook.dll every
second prevents the disk drive from sleeping and forces a search
of the PATH.   Make the periodic reloading configurable and
disable it by default.

Change-Id: I7e1a5b2bc7e1c4d4ea39fc30cf34c1195a326ed2
Reviewed-on: http://gerrit.openafs.org/6715
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsd/cm_daemon.c