summaryrefslogtreecommitdiffstats
path: root/cmd/zed/zed.d/all-syslog.sh
diff options
context:
space:
mode:
authorChris Dunlap <[email protected]>2014-09-19 11:10:28 -0700
committerBrian Behlendorf <[email protected]>2014-09-25 13:54:17 -0700
commitdcca723acee9803561dd7ef456a28c4684c28e86 (patch)
tree082e642033d282e30adf72f07b0678083009cd0d /cmd/zed/zed.d/all-syslog.sh
parent8cb8cf91df8a4902025d814b62b9332ad1b291c7 (diff)
Refer to ZED's scripts as ZEDLETs
The executables invoked by the ZED in response to a given zevent have been generically referred to as "scripts". By convention, these scripts have aimed to be /bin/sh compatible for reasons of portability and comprehensibility. However, the ZED only requires they be executable and (ideally) capable of reading environment variables. As such, these scripts are now referred to as ZEDLETs (ZFS Event Daemon Linkage for Executable Tasks). Signed-off-by: Chris Dunlap <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2735
Diffstat (limited to 'cmd/zed/zed.d/all-syslog.sh')
-rwxr-xr-xcmd/zed/zed.d/all-syslog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zed/zed.d/all-syslog.sh b/cmd/zed/zed.d/all-syslog.sh
index b8bd307a1..acf9e83bd 100755
--- a/cmd/zed/zed.d/all-syslog.sh
+++ b/cmd/zed/zed.d/all-syslog.sh
@@ -2,7 +2,7 @@
#
# Log the zevent via syslog.
#
-test -f "${ZED_SCRIPT_DIR}/zed.rc" && . "${ZED_SCRIPT_DIR}/zed.rc"
+test -f "${ZED_ZEDLET_DIR}/zed.rc" && . "${ZED_ZEDLET_DIR}/zed.rc"
logger -t "${ZED_SYSLOG_TAG:=zed}" -p "${ZED_SYSLOG_PRIORITY:=daemon.notice}" \
eid="${ZEVENT_EID}" class="${ZEVENT_SUBCLASS}" \