diff options
author | Chris Zubrzycki <[email protected]> | 2022-09-14 21:38:30 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-09-26 17:11:43 -0700 |
commit | 5e7a2f4665b5be32dab9c183e6fdb94e1f434b70 (patch) | |
tree | c9aa59dea0b86d158ecca9230b407ea5677c48e6 /etc | |
parent | 8ef15f9322dd4314ae26abf4e1290844850ff155 (diff) |
Update zfs-mount to load before fstab, matches systemd service.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Chris Zubrzycki <[email protected]>
Closes #13895
Diffstat (limited to 'etc')
-rw-r--r-- | etc/init.d/README.md | 2 | ||||
-rwxr-xr-x | etc/init.d/zfs-mount.in | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/etc/init.d/README.md b/etc/init.d/README.md index f417b24c5..2de05042c 100644 --- a/etc/init.d/README.md +++ b/etc/init.d/README.md @@ -44,7 +44,7 @@ INSTALLING INIT SCRIPT LINKS update-rc.d zfs-import start 07 S . stop 07 0 1 6 . update-rc.d zfs-load-key start 02 2 3 4 5 . stop 06 0 1 6 . - update-rc.d zfs-mount start 02 2 3 4 5 . stop 06 0 1 6 . + update-rc.d zfs-mount start 02 S . stop 06 0 1 6 . update-rc.d zfs-zed start 07 2 3 4 5 . stop 08 0 1 6 . update-rc.d zfs-share start 27 2 3 4 5 . stop 05 0 1 6 . diff --git a/etc/init.d/zfs-mount.in b/etc/init.d/zfs-mount.in index df28c6c95..a0825f19f 100755 --- a/etc/init.d/zfs-mount.in +++ b/etc/init.d/zfs-mount.in @@ -13,10 +13,11 @@ # ### BEGIN INIT INFO # Provides: zfs-mount -# Required-Start: $local_fs zfs-import +# Required-Start: zfs-import # Required-Stop: $local_fs zfs-import -# Default-Start: 2 3 4 5 +# Default-Start: S # Default-Stop: 0 1 6 +# X-Start-Before: mountall # X-Stop-After: zfs-zed # Short-Description: Mount ZFS filesystems and volumes # Description: Run the `zfs mount -a` or `zfs umount -a` commands. |