diff options
Diffstat (limited to 'hook-functions')
-rw-r--r-- | hook-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions index 98597db..2184db5 100644 --- a/hook-functions +++ b/hook-functions @@ -259,7 +259,7 @@ dep_add_modules() # findout root block device + fstype eval "$(mount | awk '/\/dev\// {if ($3 == "/") {print "root=" $1 "\nFSTYPE=" $5; exit}}')" if [ "${root}" = "/dev/root" ] ; then - root="/dev/disk/by-uuid/"$(/lib/udev/vol_id --uuid ${root}) 2>/dev/null + root="/dev/disk/by-uuid/"$(blkid -o value -s UUID ${root}) 2>/dev/null fi root="$(readlink -f ${root})" |