You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Please bear the following coding guidelines in mind:
42
42
**Example for a short menu**
43
43
```shell
44
44
clear
45
-
CHOICE=$(whiptail --cancel-button "Back" --title "TorBox v.0.5.3 - ADD BRIDGES MENU" --menu "Choose an option (ESC -> back to the main menu)"$MENU_HEIGHT$MENU_WIDTH$MENU_LIST_HEIGHT \
45
+
CHOICE=$(whiptail --cancel-button "Back" --title "TorBox v.0.5.4 - ADD BRIDGES MENU" --menu "Choose an option (ESC -> back to the main menu)"$MENU_HEIGHT$MENU_WIDTH$MENU_LIST_HEIGHT \
WHIPTAIL_LINE="whiptail --nocancel --title \"TorBox v.0.5.3 - BACKUP SELECTION\" --checklist --separate-output \"\nAdditionally to the TorBox configuration, we have found OBFS4 Bridge Relay and/or Onion Services data, which can be included in the backup. \n\nPlease, choose with SPACE which data you want to includ and press ENTER \n(ESC -> go back)\n\"$MENU_HEIGHT_20$MENU_WIDTH 3"
91
+
WHIPTAIL_LINE="whiptail --nocancel --title \"TorBox v.0.5.4 - BACKUP SELECTION\" --checklist --separate-output \"\nAdditionally to the TorBox configuration, we have found OBFS4 Bridge Relay and/or Onion Services data, which can be included in the backup. \n\nPlease, choose with SPACE which data you want to includ and press ENTER \n(ESC -> go back)\n\"$MENU_HEIGHT_20$MENU_WIDTH 3"
" 1""Change/randomize the MAC adresses of TorBox's interfaces" \
245
245
" 2""List the MAC adresses of TorBox's interfaces" \
@@ -256,7 +256,7 @@ case "$CHOICE3" in
256
256
if [ -z"$CHOICE2" ];then
257
257
if grep -q "usb0"<<<"$AVAILABLE_INTERFACES";then
258
258
###### DISPLAY THE AVAILABLE INTERFACES inluding usb0 ######
259
-
CHOICE=$(whiptail --nocancel --title "TorBox v.0.5.3 - CHANGE MAC ADRESSES" --checklist --separate-output "Choose with SPACE and then press ENTER (ESC -> go back)" 11 $MENU_WIDTH 5 \
259
+
CHOICE=$(whiptail --nocancel --title "TorBox v.0.5.4 - CHANGE MAC ADRESSES" --checklist --separate-output "Choose with SPACE and then press ENTER (ESC -> go back)" 11 $MENU_WIDTH 5 \
260
260
"1""Change the wireless interface 0 (onboard chip; wlan0)" OFF \
261
261
"2""Change the wireless interface 1 (USB adapter; wlan1)" OFF \
262
262
"3""Change the ethernet interface 0 (onboard ethernet connector; eth0)" OFF \
@@ -265,7 +265,7 @@ case "$CHOICE3" in
265
265
3>&11>&22>&3)
266
266
else
267
267
###### DISPLAY THE AVAILABLE INTERFACES without usb0 ######
268
-
CHOICE=$(whiptail --nocancel --title "TorBox v.0.5.3 - CHANGE MAC ADRESSES" --checklist --separate-output "Choose with SPACE and then press ENTER (ESC -> go back)" 10 $MENU_WIDTH 4 \
268
+
CHOICE=$(whiptail --nocancel --title "TorBox v.0.5.4 - CHANGE MAC ADRESSES" --checklist --separate-output "Choose with SPACE and then press ENTER (ESC -> go back)" 10 $MENU_WIDTH 4 \
269
269
"1""Change the wireless interface 0 (onboard chip; wlan0)" OFF \
270
270
"2""Change the wireless interface 1 (USB adapter; wlan1)" OFF \
271
271
"3""Change the ethernet interface 0 (onboard ethernet connector; eth0)" OFF \
@@ -305,36 +305,26 @@ case "$CHOICE3" in
305
305
echo""
306
306
O_DEVICE="wlan0"
307
307
if grep -q "$O_DEVICE"<<<"$AVAILABLE_INTERFACES";then
WHIPTAIL_LINE="whiptail --nocancel --title \"TorBox v.0.5.3 - RESTORE SELECTION\" --checklist --separate-output \"\nPlease, choose with SPACE which data you want to restore in addition to the TorBox configuration and press ENTER (ESC -> go back).\n\nIMPORTANT: The old configuration will be deleted in ANY CASE!\n\"$MENU_HEIGHT_15$MENU_WIDTH 4"
204
+
WHIPTAIL_LINE="whiptail --nocancel --title \"TorBox v.0.5.4 - RESTORE SELECTION\" --checklist --separate-output \"\nPlease, choose with SPACE which data you want to restore in addition to the TorBox configuration and press ENTER (ESC -> go back).\n\nIMPORTANT: The old configuration will be deleted in ANY CASE!\n\"$MENU_HEIGHT_15$MENU_WIDTH 4"
0 commit comments