Ça traînait. Ça avait l'air cool. J'ai gité.
This commit is contained in:
parent
cd4228b9ea
commit
6bace1cfbb
2 changed files with 48 additions and 0 deletions
11
utils/delete_ldap_log.sh
Executable file
11
utils/delete_ldap_log.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
# Petit script pour réduire la place prise par les anciens logs
|
||||
# de ldap qui ne sont plus utilisés
|
||||
|
||||
STORE=/var/lib/ldap
|
||||
|
||||
for f in `db4.8_archive -h $STORE`; do
|
||||
echo Removing $f ...
|
||||
rm -f $STORE/$f
|
||||
done
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue