Menu position

This commit is contained in:
Bob Mottram 2016-01-03 12:42:59 +00:00
parent f5a0f7b55c
commit d90918e19d
1 changed files with 6 additions and 6 deletions

View File

@ -126,7 +126,7 @@ function show_domains {
echo -n -e "$(pad_string 'ICANN')"
echo -n -e "$(pad_string 'Tor')"
echo ''
echo '-------------------------------------------------------------------------'
echo '--------------------------------------------------------------------------'
if grep -q "Email onion domain" $COMPLETION_FILE; then
echo -n -e "$(pad_string 'Email')"
echo -n -e "$(pad_string ' ')"
@ -206,7 +206,7 @@ function show_users {
echo -n -e "$(pad_string 'SIP ext')"
echo -n -e "$(pad_string 'Data')"
echo ''
echo '-------------------------------------------------------------------------'
echo '--------------------------------------------------------------------------'
for d in /home/*/ ; do
USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
if [[ $USRNAME != "git" ]]; then
@ -1349,8 +1349,8 @@ function menu_top_level {
dialog --backtitle $"Freedombone Control Panel" \
--title $"Control Panel" \
--radiolist $"Choose an operation:" 25 70 18 \
1 $"Backup and Restore" off \
2 $"About this system" off \
1 $"About this system" off \
2 $"Backup and Restore" off \
3 $"Reset Tripwire" off \
4 $"Logging on/off" off \
5 $"Ping enable/disable" off \
@ -1373,8 +1373,8 @@ function menu_top_level {
255) exit 1;;
esac
case $(cat $data) in
1) menu_backup_restore;;
2) show_about;;
1) show_about;;
2) menu_backup_restore;;
3) reset_tripwire;;
4) logging_on_off;;
5) ping_enable_disable;;