mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
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>
This commit is contained in:
parent
2007b9a93e
commit
0e436da449
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ start()
|
|||
echo "Exporting ZFS filesystems"
|
||||
"$ZFS" share -a
|
||||
|
||||
mkdir -p $(dirname $LOCKFILE)
|
||||
touch "$LOCKFILE"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue