Notify that logging changes take a while
This commit is contained in:
parent
374ed7874d
commit
e8c32454e2
|
@ -474,15 +474,24 @@ function restore_data_remote {
|
||||||
}
|
}
|
||||||
|
|
||||||
function logging_on_off {
|
function logging_on_off {
|
||||||
|
logging="no"
|
||||||
dialog --title "Logging" \
|
dialog --title "Logging" \
|
||||||
--backtitle "Freedombone Control Panel" \
|
--backtitle "Freedombone Control Panel" \
|
||||||
--yesno "\nDo you want to turn logging on?" 7 60
|
--yesno "\nDo you want to turn logging on?" 7 60
|
||||||
sel=$?
|
sel=$?
|
||||||
case $sel in
|
case $sel in
|
||||||
0) freedombone-logging on;;
|
0) logging="yes";;
|
||||||
1) freedombone-logging off;;
|
|
||||||
255) return;;
|
255) return;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
clear
|
||||||
|
echo ''
|
||||||
|
echo 'This may take a few seconds. Please wait...'
|
||||||
|
if [[ $logging == "no" ]]; then
|
||||||
|
freedombone-logging off
|
||||||
|
else
|
||||||
|
freedombone-logging on
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function restore_gpg_key {
|
function restore_gpg_key {
|
||||||
|
|
Loading…
Reference in New Issue