diff options
-rw-r--r-- | init_functions | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init_functions b/init_functions index 1ae844b..37b9ebb 100644 --- a/init_functions +++ b/init_functions @@ -93,5 +93,8 @@ default_mount_handler() { else rwopt="ro" fi + if [ -L "${root}" ]; then + root=$(readlink -f "${root}") + fi mount ${fstype:+-t ${fstype}} -o ${rwopt}${rootflags:+,${rootflags}} "${root}" "$1" } |