grs/scripts/clean.sh

8 lines
133 B
Bash

#!/bin/bash -e
rm -rf /tmp/*
rm -rf /var/tmp/*
rm -rf /var/cache/distfiles/*
find /var/log -type f -delete
rm -rf /etc/resolv.conf