diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2017-12-29 03:49:07 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:56:00 +0700 |
commit | 0e436da449a2942ab9b808c3bf775dc47a647dd7 (patch) | |
tree | 880e53a60bf5ee2260c7bdf47ba2345cb4ef2f45 /system/zfs-on-linux | |
parent | 2007b9a93e07c2e674db37fe1216b979d4b3356c (diff) | |
download | slackbuilds-0e436da449a2942ab9b808c3bf775dc47a647dd7.tar.gz |
system/zfs-on-linux: Create /var/lock/zfs before lockfile
This is for people who have /var/lock on tmpfs or some
other non-persistent-across-reboots filesystem.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/zfs-on-linux')
-rw-r--r-- | system/zfs-on-linux/rc.zfs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/zfs-on-linux/rc.zfs b/system/zfs-on-linux/rc.zfs index 7d818279ce..7df2057908 100644 --- a/system/zfs-on-linux/rc.zfs +++ b/system/zfs-on-linux/rc.zfs @@ -73,6 +73,7 @@ start() echo "Exporting ZFS filesystems" "$ZFS" share -a + mkdir -p $(dirname $LOCKFILE) touch "$LOCKFILE" } |