mirror of https://gitlab.com/hp3icc/emq-TE1.git
new rebooters.sh
This commit is contained in:
parent
3cf054aaa0
commit
3f7513a9b8
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
SCRIPT_NAME="rebooter.sh"
|
||||
|
||||
#
|
||||
# Registra el inicio en /opt/curl.txt
|
||||
echo "Inicio: $SCRIPT_NAME" >> /opt/curl.txt
|
||||
#####################################################################################################################
|
||||
# rebooter general system
|
||||
#####################################################################################################################
|
||||
|
||||
#
|
||||
sudo cat > /usr/local/bin/rebooter1.sh <<- "EOF"
|
||||
#!/bin/bash
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ EOF
|
|||
#####################################################################################################################
|
||||
# rebooter 2
|
||||
#####################################################################################################################
|
||||
|
||||
#
|
||||
sudo cat > /usr/local/bin/rebooter2.sh <<- "EOF"
|
||||
#!/bin/bash
|
||||
sleep 300
|
||||
|
|
|
|||
Loading…
Reference in New Issue