fix scripts
This commit is contained in:
+2
-2
@@ -224,7 +224,7 @@ install_s-ui() {
|
||||
tar zxvf s-ui-linux-$(arch).tar.gz
|
||||
rm s-ui-linux-$(arch).tar.gz -f
|
||||
|
||||
chmod +x s-ui/sui /s-ui/s-ui.sh
|
||||
chmod +x s-ui/sui s-ui/s-ui.sh
|
||||
cp s-ui/s-ui.sh /usr/bin/s-ui
|
||||
cp -rf s-ui /usr/local/
|
||||
cp -f s-ui/*.service /etc/systemd/system/
|
||||
@@ -236,7 +236,7 @@ install_s-ui() {
|
||||
systemctl enable s-ui --now
|
||||
|
||||
echo -e "${green}s-ui v${last_version}${plain} installation finished, it is up and running now..."
|
||||
echo -e "You may access the Panel with following URL(s):${yellow}"
|
||||
echo -e "You may access the Panel with following URL(s):${green}"
|
||||
/usr/local/s-ui/sui uri
|
||||
echo -e "${plain}"
|
||||
echo -e ""
|
||||
|
||||
@@ -251,6 +251,7 @@ set_setting() {
|
||||
|
||||
view_setting() {
|
||||
/usr/local/s-ui/sui setting -show
|
||||
view_uri
|
||||
before_show_menu
|
||||
}
|
||||
|
||||
@@ -261,7 +262,7 @@ view_uri() {
|
||||
before_show_menu
|
||||
fi
|
||||
LOGI "You may access the Panel with following URL(s):"
|
||||
echo -e "${yellow}${info}${reset}"
|
||||
echo -e "${green}${info}${plain}"
|
||||
}
|
||||
|
||||
start() {
|
||||
@@ -850,7 +851,7 @@ show_menu() {
|
||||
check_install && set_setting
|
||||
;;
|
||||
10)
|
||||
check_install && view_setting && view_uri
|
||||
check_install && view_setting
|
||||
;;
|
||||
11)
|
||||
check_install && start s-ui
|
||||
|
||||
Reference in New Issue
Block a user