add delete script
This commit is contained in:
parent
383580a1ee
commit
434cb22405
2 changed files with 14 additions and 0 deletions
6
delete.sh
Normal file
6
delete.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh -e
|
||||
chatlog=/var/log/bunkchat/chat.log
|
||||
|
||||
chattr -a $chatlog
|
||||
echo > $chatlog
|
||||
chattr +a $chatlog
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue