espeak "Ding"

This commit is contained in:
fred 2022-11-15 17:23:23 +01:00
parent 37d86410ec
commit dfd4395d6d
2 changed files with 11 additions and 0 deletions

View File

@ -433,6 +433,7 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh
## 302 REDIRECT $TWIP
cat ~/.zen/Astroport.ONE/templates/index.302 >> ~/.zen/tmp/coucou/${MOATS}.index.redirect
sed -i "s~_TWLINK_~http://$TWIP:8080/ipns/${ASTRONAUTENS}~g" ~/.zen/tmp/coucou/${MOATS}.index.redirect
(cat ~/.zen/tmp/coucou/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(0‿‿0) Execution time was "`expr $(date +%s) - $start` seconds. && continue
fi ## official

View File

@ -8,6 +8,7 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
ME="${0##*/}"
start=`date +%s`
echo "20H12 (♥‿‿♥) $(hostname)"
espeak "Ding"
myIP=$(hostname -I | awk '{print $1}' | head -n 1)
[[ ! $myIP ]] && myIP="127.0.1.1"
@ -21,6 +22,8 @@ mkdir -p ~/.zen/tmp
# echo "$USER ALL=(ALL) NOPASSWD:/bin/systemctl" | (sudo su -c 'EDITOR="tee" visudo -f /etc/sudoers.d/systemctl')
[[ -s /etc/sudoers.d/systemctl ]] && sudo systemctl restart ipfs && sleep 5
espeak "Ding Ding"
## PROCESS TW BACKOFFICE TREATMENT
cd ~/.zen/Astroport.ONE/
git pull
@ -33,9 +36,14 @@ git pull
killall 12345.sh
killall nc
espeak "Ding Ding Ding"
# Refresh ~/.zen/game/players/PLAYER
~/.zen/Astroport.ONE/ASTROBOT/PLAYER.refresh.sh
espeak "Bills Kills Bills"
## OPEN ENTRANCE AGAIN
~/.zen/Astroport.ONE/12345.sh > ~/.zen/tmp/12345.log &
@ -56,4 +64,6 @@ echo "20H12 (♥‿‿♥) Execution time was "`expr $end - $start` seconds.
## MAIL LOG : support@qo-op.com
$MY_PATH/tools/mailjet.sh "support@qo-op.com" "/tmp/20h12.log.txt"
espeak "Byte Storm Over"
exit 0