diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/dracut/90zfs/export-zfs.sh.in | 2 | ||||
-rwxr-xr-x | contrib/dracut/90zfs/mount-zfs.sh.in | 2 | ||||
-rwxr-xr-x | contrib/dracut/90zfs/parse-zfs.sh.in | 2 | ||||
-rwxr-xr-x | contrib/dracut/90zfs/zfs-lib.sh.in | 2 | ||||
-rwxr-xr-x | contrib/dracut/90zfs/zfs-load-key.sh.in | 2 | ||||
-rwxr-xr-x | contrib/dracut/90zfs/zfs-needshutdown.sh.in | 2 | ||||
-rwxr-xr-x | contrib/initramfs/zfsunlock | 4 |
7 files changed, 8 insertions, 8 deletions
diff --git a/contrib/dracut/90zfs/export-zfs.sh.in b/contrib/dracut/90zfs/export-zfs.sh.in index 892650383..09e4a3cc0 100755 --- a/contrib/dracut/90zfs/export-zfs.sh.in +++ b/contrib/dracut/90zfs/export-zfs.sh.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash . /lib/dracut-zfs-lib.sh diff --git a/contrib/dracut/90zfs/mount-zfs.sh.in b/contrib/dracut/90zfs/mount-zfs.sh.in index 73300a9b6..f5b3d9056 100755 --- a/contrib/dracut/90zfs/mount-zfs.sh.in +++ b/contrib/dracut/90zfs/mount-zfs.sh.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash . /lib/dracut-zfs-lib.sh diff --git a/contrib/dracut/90zfs/parse-zfs.sh.in b/contrib/dracut/90zfs/parse-zfs.sh.in index eccfdc6bc..6a805ae24 100755 --- a/contrib/dracut/90zfs/parse-zfs.sh.in +++ b/contrib/dracut/90zfs/parse-zfs.sh.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash . /lib/dracut-lib.sh diff --git a/contrib/dracut/90zfs/zfs-lib.sh.in b/contrib/dracut/90zfs/zfs-lib.sh.in index 44021c6e5..f470bfcc5 100755 --- a/contrib/dracut/90zfs/zfs-lib.sh.in +++ b/contrib/dracut/90zfs/zfs-lib.sh.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash command -v getarg >/dev/null || . /lib/dracut-lib.sh command -v getargbool >/dev/null || { diff --git a/contrib/dracut/90zfs/zfs-load-key.sh.in b/contrib/dracut/90zfs/zfs-load-key.sh.in index 85e55c51b..ff586ef65 100755 --- a/contrib/dracut/90zfs/zfs-load-key.sh.in +++ b/contrib/dracut/90zfs/zfs-load-key.sh.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # only run this on systemd systems, we handle the decrypt in mount-zfs.sh in the mount hook otherwise [ -e /bin/systemctl ] || return 0 diff --git a/contrib/dracut/90zfs/zfs-needshutdown.sh.in b/contrib/dracut/90zfs/zfs-needshutdown.sh.in index e3d1b59cc..ddd3edae0 100755 --- a/contrib/dracut/90zfs/zfs-needshutdown.sh.in +++ b/contrib/dracut/90zfs/zfs-needshutdown.sh.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh diff --git a/contrib/initramfs/zfsunlock b/contrib/initramfs/zfsunlock index f6b6b9dbe..cf8e45249 100755 --- a/contrib/initramfs/zfsunlock +++ b/contrib/initramfs/zfsunlock @@ -8,7 +8,7 @@ while [ ! -e /run/zfs_fs_name ]; do if [ -e /run/zfs_unlock_complete ]; then exit 0 fi - sleep 0.5 + sleep 1 done echo echo "Unlocking encrypted ZFS filesystems..." @@ -31,7 +31,7 @@ while [ ! -e /run/zfs_unlock_complete ]; do fi # Wait for another filesystem to unlock. while [ "$(cat /run/zfs_fs_name)" = "$zfs_fs_name" ] && [ ! -e /run/zfs_unlock_complete ]; do - sleep 0.5 + sleep 1 done else echo "Wrong password. Try again." |