]>
Commit | Line | Data |
---|---|---|
4d56f4c5 AR |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | zedd="/usr/lib/zfs-linux/zed.d" | |
5 | etcd="/etc/zfs/zed.d" | |
6 | ||
7 | if [ "$1" != "failed-upgrade" ] && [ -d "${etcd}" ] && [ -d "${zedd}" ] ; then | |
8 | while read -r file ; do | |
9 | etcfile="${etcd}/${file}" | |
10 | [ -e "${etcfile}" ] && continue | |
11 | ln -s /dev/null "${etcfile}" | |
12 | done < "${zedd}/DEFAULT-ENABLED" | |
13 | fi | |
14 | ||
15 | #DEBHELPER# | |
16 |