add delete script

This commit is contained in:
sorrel 2024-04-22 16:15:21 -04:00
parent 383580a1ee
commit 434cb22405
2 changed files with 14 additions and 0 deletions

6
delete.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/sh -e
chatlog=/var/log/bunkchat/chat.log
chattr -a $chatlog
echo > $chatlog
chattr +a $chatlog

View file

@ -1,5 +1,13 @@
#!/bin/sh -e
# TODO
# check for tmux and cowsay
# if not prompt and exit
# pull in bunkchat
# run bunkchat install script
# install buckdeck in /usr/local/bin
# prompt user to install delete.sh in /root/crontab-scripts/delete-bunkchat.sh
# prompt with crontab config