From: Steven Shiau Date: Mon, 24 Jun 2013 12:20:43 +0000 (+0200) Subject: Calculating size for the whole media "/live/image/", not only the dir "/live/image... X-Git-Tag: debian/4.0_a14-1~22 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=63be2febead200d33e4a0f734df243551cc9800a Calculating size for the whole media "/live/image/", not only the dir "/live/image/live/" when using toram. --- diff --git a/scripts/boot/9990-toram-todisk.sh b/scripts/boot/9990-toram-todisk.sh index 2643eb8..e7938e0 100755 --- a/scripts/boot/9990-toram-todisk.sh +++ b/scripts/boot/9990-toram-todisk.sh @@ -10,7 +10,7 @@ copy_live_to () if [ -z "${MODULETORAM}" ] then - size=$(fs_size "" ${copyfrom}/${LIVE_MEDIA_PATH} "used") + size=$(fs_size "" ${copyfrom}/ "used") else MODULETORAMFILE="${copyfrom}/${LIVE_MEDIA_PATH}/${MODULETORAM}"