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 {
|
||||
logging="no"
|
||||
dialog --title "Logging" \
|
||||
--backtitle "Freedombone Control Panel" \
|
||||
--yesno "\nDo you want to turn logging on?" 7 60
|
||||
sel=$?
|
||||
case $sel in
|
||||
0) freedombone-logging on;;
|
||||
1) freedombone-logging off;;
|
||||
0) logging="yes";;
|
||||
255) return;;
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue