clean-fd script.

This commit is contained in:
Darren 'Tadgy' Austin 2025-10-29 17:15:16 +00:00
commit 630fe332da
3 changed files with 8 additions and 1 deletions

1
root/.gitignore vendored
View file

@ -2,6 +2,7 @@
!/.*
!/.*/
!/.*/**
!/clean-fd
/.bash_history*
/.composer/

5
root/clean-fd Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
rm -f /var/spool/fusiondirectory/*
rm -f /var/cache/fusiondirectory/{fai/*,fusiondirectory.auth,template/*,tmp/*}
rm -f /var/lib/php/sessions/*