aboutsummaryrefslogtreecommitdiffstats
path: root/etc/init.d/zfs-zed.in
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2015-08-29 18:45:56 -0400
committerBrian Behlendorf <[email protected]>2015-08-30 10:06:59 -0700
commitda619f3a199d938168079e153360b280dc45268a (patch)
tree6f4fd65fa34f566de7bd7c10e183266f498cf165 /etc/init.d/zfs-zed.in
parent36b454ab4c33fef59c9cb25ff09c2454dcd4aa04 (diff)
Some OpenRC dependency logic belongs in mount
The dependencies for handling / on ZFS belong in the mount script, not the zed script. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #3715
Diffstat (limited to 'etc/init.d/zfs-zed.in')
-rwxr-xr-xetc/init.d/zfs-zed.in11
1 files changed, 1 insertions, 10 deletions
diff --git a/etc/init.d/zfs-zed.in b/etc/init.d/zfs-zed.in
index 9fa243f8f..fa70a82c2 100755
--- a/etc/init.d/zfs-zed.in
+++ b/etc/init.d/zfs-zed.in
@@ -45,16 +45,7 @@ ZED_PIDFILE="@runstatedir@/$ZED_NAME.pid"
do_depend()
{
- # Try to allow people to mix and match fstab with ZFS in a way that makes sense.
- if [ "$(mountinfo -s /)" = 'zfs' ]
- then
- before localmount
- else
- after localmount
- fi
-
- # bootmisc will log to /var which may be a different zfs than root.
- before bootmisc logger zfs-import
+ before zfs-import
after sysfs
}