diff options
author | Matt Smith <mcs@darkregion.net> | 2011-04-14 04:36:07 -0500 |
---|---|---|
committer | Matt Smith <mcs@darkregion.net> | 2011-04-14 04:36:07 -0500 |
commit | a1712e1174af8b56a8365ad7ee749d8a4a87ddf7 (patch) | |
tree | e49b147a9259977ac27e4a84ab08c41874713d5b | |
parent | 5af57fcbd68f2efc3ab3a6ece2d48c36499fc285 (diff) | |
download | alpine-conf-a1712e1174af8b56a8365ad7ee749d8a4a87ddf7.zip |
setup-disk, setup-timezone: improved messages
-rw-r--r-- | setup-disk.in | 21 | ||||
-rwxr-xr-x | setup-timezone.in | 2 |
2 files changed, 12 insertions, 11 deletions
diff --git a/setup-disk.in b/setup-disk.in index caf253a..b47e711 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -371,15 +371,15 @@ show_disk_info() { confirm_erase() { local answer= - echo "WARNING: the following disks will be erased:" + echo "WARNING: The following disk(s) will be erased:" show_disk_info $@ - echo -n "WARNING: Erase the above disks and continue? [y/N]: " + echo -n "WARNING: Erase the above disk(s) and continue? [y/N]: " read answer case "$answer" in y*|Y*) return 0;; esac - return 1 + return 1 } # setup disk dev in $1 for LVM usage. @@ -640,7 +640,7 @@ setup_root() { swapoff -a echo "" - echo "Installation is done. Please reboot." + echo "Installation is complete. Please reboot." } native_disk_install_lvm() { @@ -737,13 +737,14 @@ You can select between 'sys' or 'data'. This mode is a traditional disk install. A /boot partition, / (root) and swap will be created. - Use this mode for development boxes, desktops, virtual servers etc. + Use this mode for development boxes, desktops, virtual servers, etc. * data - This mode let you use your disk for data-only. The system itself will run + This mode uses your disk(s) for data-only. The system itself will run from tmpfs (RAM). - Use this mode is you want use disk only for mailspool, databases, logs etc. + Use this mode if you only want to use the disk(s) for a mailspool, + databases, logs, etc. __EOF__ } @@ -869,15 +870,15 @@ fi if [ -n "$diskdevs" ] && [ -z "$DISK_MODE" ]; then answer= - disk_or_disks="disk" + disk_is_or_disks_are="disk is" it_them="it" if [ $# -gt 1 ]; then - disk_plural="disks" + disk_is_or_disks_are="disks are" it_them="them" fi while true; do - echo "The following $disk_or_disks are selected:" + echo "The following $disk_is_or_disks_are selected:" show_disk_info $diskdevs echon "How would you like to use $it_them? ('sys', 'data' or '?' for help) [?] " default_read answer '?' diff --git a/setup-timezone.in b/setup-timezone.in index 1e823e6..3d45284 100755 --- a/setup-timezone.in +++ b/setup-timezone.in @@ -37,7 +37,7 @@ zonepath=$(cat /etc/TZ 2>/dev/null) [ -z "$zonepath" ] && zonepath="UTC" while true; do - echo -n "What timezone are you in? ('?' for list) [$zonepath] " + echo -n "Which timezone are you in? ('?' for list) [$zonepath] " default_read zonepath "$zonepath" case "$zonepath" in "") continue;; |