diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-04-25 12:11:56 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-04-25 12:12:09 +0200 |
commit | f2a58e5f4d51aab657fd66138c0364fe4a7b41c9 (patch) | |
tree | cb138fa778ff2be096839365f191ffa7b6bc4032 | |
parent | 73fcbbfdf678b46f46633c2741f5e5971b788366 (diff) | |
download | device_goldelico_gta04-f2a58e5f4d51aab657fd66138c0364fe4a7b41c9.zip device_goldelico_gta04-f2a58e5f4d51aab657fd66138c0364fe4a7b41c9.tar.gz device_goldelico_gta04-f2a58e5f4d51aab657fd66138c0364fe4a7b41c9.tar.bz2 |
replicant_gta04_install.sh: drive prefix and better complete message
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-x | replicant_gta04_install.sh | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/replicant_gta04_install.sh b/replicant_gta04_install.sh index 1f4cf71..f8f0874 100755 --- a/replicant_gta04_install.sh +++ b/replicant_gta04_install.sh @@ -67,7 +67,7 @@ display_banner() { display_complete() { echo "" - echo "Process completed!" + echo "Process completed, you can now remove the card!" } # Drive @@ -432,7 +432,7 @@ install_script() { done } -install_mount() { +install_drive_mount() { drive_part drive_umount @@ -444,7 +444,7 @@ install_mount() { mount "${DRIVE_PART}2" "$MOUNT_BASE/system" } -install_umount() { +install_drive_umount() { drive_part dir=$( pwd ) @@ -465,7 +465,7 @@ install_umount() { rmdir "$MOUNT_BASE/system" } -install_eject() { +install_drive_eject() { eject "$DRIVE" } @@ -504,10 +504,12 @@ case $1 in display_complete ;; "install") - install_mount + install_drive_mount install_script - install_umount - install_eject + install_drive_umount + install_drive_eject + + display_complete ;; *) display_help |