grs/scripts/clean.sh
2015-07-08 21:24:30 -04:00

7 lines
125 B
Bash

#!/bin/bash -e
for d in /tmp /var/tmp /var/log; do
find ${d} -mindepth 1 -exec rm -rf {} +
done
rm -rf /etc/resolv.conf