Added script parameters
This commit is contained in:
@@ -16,7 +16,7 @@ if [ $? -eq 0 ]; then
|
|||||||
echo "Script downloaded successfully."
|
echo "Script downloaded successfully."
|
||||||
|
|
||||||
# Schedule the script to run after 2 minutes
|
# Schedule the script to run after 2 minutes
|
||||||
echo "bash $DEST_DIR/$SCRIPT_FILE" | at now + 2 minutes
|
echo "bash $DEST_DIR/$SCRIPT_FILE update amd64" | at now + 2 minutes
|
||||||
echo "Script scheduled to run after 2 minutes."
|
echo "Script scheduled to run after 2 minutes."
|
||||||
else
|
else
|
||||||
echo "Failed to download the script from GitHub."
|
echo "Failed to download the script from GitHub."
|
||||||
|
|||||||
Reference in New Issue
Block a user