Update zfs-mount to load before fstab, matches systemd service.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Zubrzycki <github@mid-earth.net>
Closes #13895
This commit is contained in:
Chris Zubrzycki 2022-09-14 21:38:30 -04:00 committed by Brian Behlendorf
parent 8ef15f9322
commit 5e7a2f4665
2 changed files with 4 additions and 3 deletions

View File

@ -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 .

View File

@ -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.