new rebooters.sh

This commit is contained in:
Script Proyect by HP3ICC 2024-11-18 03:04:13 +00:00
parent 3cf054aaa0
commit 3f7513a9b8
1 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
SCRIPT_NAME="rebooter.sh" SCRIPT_NAME="rebooter.sh"
#
# Registra el inicio en /opt/curl.txt # Registra el inicio en /opt/curl.txt
echo "Inicio: $SCRIPT_NAME" >> /opt/curl.txt echo "Inicio: $SCRIPT_NAME" >> /opt/curl.txt
##################################################################################################################### #####################################################################################################################
# rebooter general system # rebooter general system
##################################################################################################################### #####################################################################################################################
#
sudo cat > /usr/local/bin/rebooter1.sh <<- "EOF" sudo cat > /usr/local/bin/rebooter1.sh <<- "EOF"
#!/bin/bash #!/bin/bash
@ -67,7 +67,7 @@ EOF
##################################################################################################################### #####################################################################################################################
# rebooter 2 # rebooter 2
##################################################################################################################### #####################################################################################################################
#
sudo cat > /usr/local/bin/rebooter2.sh <<- "EOF" sudo cat > /usr/local/bin/rebooter2.sh <<- "EOF"
#!/bin/bash #!/bin/bash
sleep 300 sleep 300