summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-07-21 20:49:35 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-07-21 20:49:35 (EDT)
commit3319b4a3b2ee8726a8d21e62ac639070c552dc0f (patch)
tree0bdce355623fcac6fa47ee9b002cb96bb06e2fdb
parent56bc438102277b3814e7acc72195ea7384b79d1e (diff)
installers/pc: Move "Install the boot loader" msg
And add an extra newline in the output.
-rw-r--r--installers/data/pc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/installers/data/pc.sh b/installers/data/pc.sh
index 52d168d..14e8451 100644
--- a/installers/data/pc.sh
+++ b/installers/data/pc.sh
@@ -93,14 +93,14 @@ for tzpkg in ${tzpkgs}; do
done
opkg remove tzcode ${rmtzpkgs}
-printf '\nInstall the boot loader'
-printf '\n=======================\n\n'
-
opkg install lilo
boot="$(mountpoint -n /boot | cut -d ' ' -f 1)"
boot="${boot%%[0-9]}"
+printf '\nInstall the boot loader'
+printf '\n=======================\n\n'
printf 'Name of root partition on running system (e.g. "sda1"): '
_read -r root
+printf '\n'
# XXX: Temporary kludge.
cp -p /boot/vmlinuz /boot/vmlinuz.old
install-lilo "${boot}" "/dev/${root}" >&2