diff options
author | Tiago Bortoletto Vaz <tiagovaz@safernet.org.br> | 2008-08-11 22:28:54 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:38 +0100 |
commit | 6205a24620be1025b802589501814626efed02f7 (patch) | |
tree | 13bc6858a98031f10083ab740306f29ff64e8d43 /functions/losetup.sh | |
parent | c7bccbbf26106de79345257db99884d7c938856d (diff) | |
download | vyos-live-build-6205a24620be1025b802589501814626efed02f7.tar.gz vyos-live-build-6205a24620be1025b802589501814626efed02f7.zip |
Adding last modifications in order to have localization fully working in live-helper. This commit goes with some pt_BR translations just for testing. Thanks to Antonio Terceiro for helping and coding in some shell stuff.
Diffstat (limited to 'functions/losetup.sh')
-rwxr-xr-x | functions/losetup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/losetup.sh b/functions/losetup.sh index d95608618..233e63796 100755 --- a/functions/losetup.sh +++ b/functions/losetup.sh @@ -23,14 +23,14 @@ Losetup () if [ "${PARTITION}" = "0" ] then - Echo_message "Mounting ${DEVICE} with offset 0" + Echo_message "Mounting %s with offset 0" "${DEVICE}" ${LH_ROOT_COMMAND} ${LH_LOSETUP} "${DEVICE}" "${FILE}" else SECTORS="$(echo "$FDISK_OUT" | sed -ne "s|^$LOOPDEVICE[ *]*\([0-9]*\).*|\1|p")" OFFSET="$(expr ${SECTORS} '*' 512)" - Echo_message "Mounting ${DEVICE} with offset ${OFFSET}" + Echo_message "Mounting %s with offset %s" "${DEVICE}" "${OFFSET}" ${LH_ROOT_COMMAND} ${LH_LOSETUP} -o "${OFFSET}" "${DEVICE}" "${FILE}" fi |