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