diff options
Diffstat (limited to 'contrib/dracut/90zfs/parse-zfs.sh.in')
-rwxr-xr-x | contrib/dracut/90zfs/parse-zfs.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dracut/90zfs/parse-zfs.sh.in b/contrib/dracut/90zfs/parse-zfs.sh.in index 2a532c75b..eccfdc6bc 100755 --- a/contrib/dracut/90zfs/parse-zfs.sh.in +++ b/contrib/dracut/90zfs/parse-zfs.sh.in @@ -10,7 +10,7 @@ if [ -n "${spl_hostid}" ] ; then BB=$(echo "${spl_hostid}" | cut -b 3,4) CC=$(echo "${spl_hostid}" | cut -b 5,6) DD=$(echo "${spl_hostid}" | cut -b 7,8) - printf "\\x%s\\x%s\\x%s\\x%s" "${DD}" "${CC}" "${BB}" "${AA}" >/etc/hostid + echo -ne "\\x${DD}\\x${CC}\\x${BB}\\x${AA}" >/etc/hostid elif [ -f "/etc/hostid" ] ; then info "ZFS: Using hostid from /etc/hostid: $(hostid)" else |