A simple logrotate shell script I use in embedded enviroments.