diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-28 15:19:26 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-28 15:19:26 +0100 |
commit | e23d522bb23a728613fcf02ae3f1634c527e091b (patch) | |
tree | 50ddca611d5a4f728f9876e01081dd42c65e416c /src/core/libs/lib-ui-interactive.sh | |
parent | d2223b6d9806427c50d5fab4ee7bf919c98d0fd1 (diff) |
select_time ask yesno fix
Diffstat (limited to 'src/core/libs/lib-ui-interactive.sh')
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 1e6d42f..a782a12 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -74,7 +74,7 @@ interactive_time () { dohwclock - if which ntpdate >/dev/null && ask_option yes "'ntpdate' was detected on your system.\n\nDo you want to use 'ntpdate' for syncing your clock,\nby using the internet clock pool?" "(You need a working internet connection for doing this!)" #TODO: only propose if network ok. + if which ntpdate >/dev/null && ask_yesno "'ntpdate' was detected on your system.\n\nDo you want to use 'ntpdate' for syncing your clock,\nby using the internet clock pool?\n(You need a working internet connection for doing this!)" yes #TODO: only propose if network ok. then if ntpdate pool.ntp.org >/dev/null then |