summaryrefslogtreecommitdiff
path: root/setup-lbu.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-01-08 12:08:13 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2021-01-08 12:08:13 +0100
commit659147ca8e08da951d36ad9ff84e9f65412abbd5 (patch)
tree9c1adf231dc67449ac808e6fd15a83cfe99e4ed4 /setup-lbu.in
parent32d69f014166cc5d129f7d922c85dae0f7818a61 (diff)
downloadalpine-conf-659147ca8e08da951d36ad9ff84e9f65412abbd5.zip
setup-lbu: use ask for consistency
Diffstat (limited to 'setup-lbu.in')
-rw-r--r--setup-lbu.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-lbu.in b/setup-lbu.in
index e13bd02..54b6a32 100644
--- a/setup-lbu.in
+++ b/setup-lbu.in
@@ -132,8 +132,8 @@ if [ -z "$suggestion" ] && [ -n "$usbmnt" ]; then
fi
while [ -z "$media" ]; do
- echo -n "Enter where to store configs ($alternatives or 'none') [$suggestion]: "
- default_read media $suggestion
+ ask "Enter where to store configs ($alternatives or 'none')" "$suggestion"
+ media="$resp"
if [ "$media" = "none" ] || [ -d "/media/$media" ]; then
break
fi