Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoST <95422141+LoST202@users.noreply.github.com>2024-12-21 01:48:10 +0300
committerGitHub <noreply@github.com>2024-12-21 01:48:10 +0300
commit174535b05de3aa0ed6ceec78948882729c26ff94 (patch)
treeb200118989b7f1b2fa8f3f18ff1ec72b0df9d4cf /x-ui.sh
parentfff54fe7f3e5c6f3b4ed705ffeea44b0b065e54c (diff)
unnecessary sudo removed (#2619)
All the commands do not work exactly, but since we already work in the beginning on behalf of root, then sudo is not necessary at the beginning. Is that right? P.S. when selected in the menu, it says that "command not found".
Diffstat (limited to 'x-ui.sh')
-rw-r--r--x-ui.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/x-ui.sh b/x-ui.sh
index f69df741..2e9674a6 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -700,23 +700,23 @@ firewall_menu() {
firewall_menu
;;
2)
- sudo ufw status numbered
+ ufw status numbered
firewall_menu
;;
3)
- sudo open_ports
+ open_ports
firewall_menu
;;
4)
- sudo delete_ports
+ delete_ports
firewall_menu
;;
5)
- sudo ufw disable
+ ufw disable
firewall_menu
;;
6)
- sudo ufw status verbose
+ ufw status verbose
firewall_menu
;;
*)