diff --git a/rc.in b/rc.in index 6ae9a1a..13c777e 100644 --- a/rc.in +++ b/rc.in @@ -54,7 +54,7 @@ rc.tmpfiles() { rc.mount_misc() { for fs in "${!cfg_mounts[@]}"; do - echo "$fs" | while IFS=':' read fs_type mountpoint mount_options; do + echo "${cfg_mounts[$fs]}" | while IFS=':' read fs_type mountpoint mount_options; do [[ "$mount_options" ]] || { mount_options='defaults'; } mountpoint -q "$mountpoint" || {