# kboot-mkconfig helper script.
# Copyright (C) 2011 Antonio Ospite <ospite@studenti.unina.it>
#
-# Inspired by the 10_linux script from kboot
+# Inspired by the 10_linux script from grub
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
bindir=${exec_prefix}/bin
libdir=${exec_prefix}/lib
-LINUX_ROOT_DEVICE="$(mount | grep ' / ' | cut -d ' ' -f 1)"
+LINUX_ROOT_DEVICE="$(readlink -f $(mount | grep ' / ' | cut -d ' ' -f 1))"
if $(which gettext >/dev/null 2>/dev/null) ; then
gettext="gettext"