|
@@ -268,6 +268,8 @@ function check_for_updates {
|
268
|
268
|
}
|
269
|
269
|
|
270
|
270
|
function set_main_repo {
|
|
271
|
+ return
|
|
272
|
+
|
271
|
273
|
data=$(tempfile 2>/dev/null)
|
272
|
274
|
trap "rm -f $data" 0 1 2 5 15
|
273
|
275
|
dialog --backtitle $"Freedombone Control Panel" \
|
|
@@ -492,6 +494,8 @@ function show_users {
|
492
|
494
|
}
|
493
|
495
|
|
494
|
496
|
function show_mirrors_password {
|
|
497
|
+ return
|
|
498
|
+
|
495
|
499
|
if [ ! /home/mirrors ]; then
|
496
|
500
|
return
|
497
|
501
|
fi
|
|
@@ -592,7 +596,7 @@ function show_about {
|
592
|
596
|
show_ssh_public_key
|
593
|
597
|
show_domains
|
594
|
598
|
show_tahoelafs
|
595
|
|
- show_mirrors_password
|
|
599
|
+ #show_mirrors_password
|
596
|
600
|
show_users
|
597
|
601
|
any_key
|
598
|
602
|
}
|
|
@@ -2102,7 +2106,7 @@ function menu_top_level {
|
2102
|
2106
|
trap "rm -f $data" 0 1 2 5 15
|
2103
|
2107
|
dialog --backtitle $"Freedombone Control Panel" \
|
2104
|
2108
|
--title $"Control Panel" \
|
2105
|
|
- --radiolist $"Choose an operation:" 29 70 21 \
|
|
2109
|
+ --radiolist $"Choose an operation:" 28 70 20 \
|
2106
|
2110
|
1 $"About this system" off \
|
2107
|
2111
|
2 $"Passwords" off \
|
2108
|
2112
|
3 $"Backup and Restore" off \
|
|
@@ -2116,14 +2120,13 @@ function menu_top_level {
|
2116
|
2120
|
11 $"Email Menu" off \
|
2117
|
2121
|
12 $"Domain or User Blocking" off \
|
2118
|
2122
|
13 $"Security Settings" off \
|
2119
|
|
- 14 $"Set the main repository (repo mirrors)" off \
|
2120
|
|
- 15 $"Change the name of this system" off \
|
2121
|
|
- 16 $"Set a static local IP address" off \
|
2122
|
|
- 17 $"Wifi menu" off \
|
2123
|
|
- 18 $"Check for updates" off \
|
2124
|
|
- 19 $"Power off the system" off \
|
2125
|
|
- 20 $"Restart the system" off \
|
2126
|
|
- 21 $"Exit" on 2> $data
|
|
2123
|
+ 14 $"Change the name of this system" off \
|
|
2124
|
+ 15 $"Set a static local IP address" off \
|
|
2125
|
+ 16 $"Wifi menu" off \
|
|
2126
|
+ 17 $"Check for updates" off \
|
|
2127
|
+ 18 $"Power off the system" off \
|
|
2128
|
+ 19 $"Restart the system" off \
|
|
2129
|
+ 20 $"Exit" on 2> $data
|
2127
|
2130
|
sel=$?
|
2128
|
2131
|
case $sel in
|
2129
|
2132
|
1) exit 1;;
|
|
@@ -2148,14 +2151,13 @@ function menu_top_level {
|
2148
|
2151
|
11) menu_email;;
|
2149
|
2152
|
12) domain_blocking;;
|
2150
|
2153
|
13) security_settings;;
|
2151
|
|
- 14) set_main_repo;;
|
2152
|
|
- 15) change_system_name;;
|
2153
|
|
- 16) set_static_IP;;
|
2154
|
|
- 17) menu_wifi;;
|
2155
|
|
- 18) check_for_updates;;
|
2156
|
|
- 19) shut_down_system;;
|
2157
|
|
- 20) restart_system;;
|
2158
|
|
- 21) break;;
|
|
2154
|
+ 14) change_system_name;;
|
|
2155
|
+ 15) set_static_IP;;
|
|
2156
|
+ 16) menu_wifi;;
|
|
2157
|
+ 17) check_for_updates;;
|
|
2158
|
+ 18) shut_down_system;;
|
|
2159
|
+ 19) restart_system;;
|
|
2160
|
+ 20) break;;
|
2159
|
2161
|
esac
|
2160
|
2162
|
done
|
2161
|
2163
|
}
|