diff --git a/delete.sh b/delete.sh new file mode 100644 index 0000000..1e84a94 --- /dev/null +++ b/delete.sh @@ -0,0 +1,6 @@ +#!/bin/sh -e +chatlog=/var/log/bunkchat/chat.log + +chattr -a $chatlog +echo > $chatlog +chattr +a $chatlog diff --git a/install.sh b/install.sh index 046586a..04a2535 100755 --- a/install.sh +++ b/install.sh @@ -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