TinTin++ setup for Aardwolf MUD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
265 B

  1. #!/bin/bash
  2. # Clear Username and Password
  3. sed -i '1,2s/{\(.*\)} {\(.*\)}\;$/{\1} {}\;/' config.tin
  4. echo "Clearing credentials..."
  5. # Empty logs and history
  6. for f in logs/*.log
  7. do
  8. rm $f
  9. touch $f
  10. echo "Clearing $f..."
  11. done
  12. echo "Done - ready to commit."