diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2021-01-08 12:08:13 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2021-01-08 12:08:13 +0100 |
commit | 659147ca8e08da951d36ad9ff84e9f65412abbd5 (patch) | |
tree | 9c1adf231dc67449ac808e6fd15a83cfe99e4ed4 /setup-lbu.in | |
parent | 32d69f014166cc5d129f7d922c85dae0f7818a61 (diff) | |
download | alpine-conf-659147ca8e08da951d36ad9ff84e9f65412abbd5.zip |
setup-lbu: use ask for consistency
Diffstat (limited to 'setup-lbu.in')
-rw-r--r-- | setup-lbu.in | 4 |
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 |