Cleaning ~/.zen/tmp

This commit is contained in:
fred 2022-10-21 20:56:11 +02:00
parent 90a1535693
commit 236cd0b8cb
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
ME="${0##*/}"
start=`date +%s`
## CLEANING ~/.zen/tmp
rm -Rf ~/.zen/tmp
mkdir -p ~/.zen/tmp
## RESTART IPFS DAEMON
# 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