From 358824da8f123d12c37c8d3b0d50aac4e1e04d11 Mon Sep 17 00:00:00 2001 From: fbt Date: Sun, 30 Aug 2015 16:48:20 +0300 Subject: [PATCH] oops --- rc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" || {