更新 bin/ZeroWrt
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
b581c6a1b8
commit
80a86d6eb7
24
bin/ZeroWrt
24
bin/ZeroWrt
@ -73,7 +73,7 @@ show_agreement() {
|
||||
else
|
||||
color_output "\e[36m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\e[0m"
|
||||
color_output "\e[36m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\e[0m"
|
||||
color_output "\e[36m┃ \e[33mZeroWrt Config Tool User Agreement\e[36m ┃\e[0m"
|
||||
color_output "\e[36m┃ \e[33mZeroWrt Config Tool User Agreement\e[36m ┃\e[0m"
|
||||
color_output "\e[36m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
|
||||
color_output "\e[36m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\e[0m"
|
||||
color_output ""
|
||||
@ -135,7 +135,7 @@ print_header() {
|
||||
color_output "\e[36m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\e[0m"
|
||||
color_output "\e[36m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\e[0m"
|
||||
color_output "\e[36m┃ ┃\e[0m"
|
||||
color_output "\e[36m┃ \e[33mWelcome to ZeroWrt Config Tool\e[36m ┃\e[0m"
|
||||
color_output "\e[36m┃ \e[33mWelcome to ZeroWrt Config Tool\e[36m ┃\e[0m"
|
||||
color_output "\e[36m┃ ┃\e[0m"
|
||||
color_output "\e[36m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
|
||||
color_output "\e[36m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\e[0m"
|
||||
@ -174,16 +174,16 @@ show_menu() {
|
||||
else
|
||||
color_output "\e[36m┏━━━━━━━━━━━━━━━ MENU ━━━━━━━━━━━━━━━━━━┓\e[0m"
|
||||
color_output "\e[36m┃ ┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 1. Change LAN IP Address \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 2. Change Admin Password \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 3. Switch Default Theme \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 4. Factory Reset \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 5. Change Software Sources \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 6. One-click Deployment \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 7. IPv6 Toggle (Main Router Only) \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 8. iStoreOS Styling \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 9. Check for Updates \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 0. Exit \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 1. Change LAN IP Address \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 2. Change Admin Password \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 3. Switch Default Theme \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 4. Factory Reset \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 5. Change Software Sources \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 6. One-click Deployment \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 7. IPv6 Toggle (Main Router Only) \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 8. iStoreOS Styling \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 9. Check for Updates \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃\e[0m 0. Exit \e[36m┃\e[0m"
|
||||
color_output "\e[36m┃ ┃\e[0m"
|
||||
color_output "\e[36m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
|
||||
read -p "$(color_output "\e[33mEnter your choice [0-10]: \e[0m")" choice
|
||||
|
Loading…
Reference in New Issue
Block a user