mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-28 11:59:34 +03:00
12 lines
288 B
Bash
12 lines
288 B
Bash
|
#!/bin/sh
|
||
|
#
|
||
|
# Log the zevent via syslog.
|
||
|
#
|
||
|
test -f "${ZED_SCRIPT_DIR}/zed.rc" && . "${ZED_SCRIPT_DIR}/zed.rc"
|
||
|
|
||
|
logger -t "${ZED_SYSLOG_TAG:=zed}" -p "${ZED_SYSLOG_PRIORITY:=daemon.notice}" \
|
||
|
eid="${ZEVENT_EID}" class="${ZEVENT_SUBCLASS}" \
|
||
|
"${ZEVENT_POOL:+pool=$ZEVENT_POOL}"
|
||
|
|
||
|
exit 0
|