grs/scripts/clean.sh
2015-07-08 11:18:54 -04:00

6 lines
119 B
Bash

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