#!/bin/bash

if [ -f "/var/cpanel/cleanbackups/cleanbackups.config" ]; then
	echo "/var/cpanel/cleanbackups/cleanbackups.config already exists, exiting"
	exit 1;
fi

echo "updates=enabled
autoclean=disabled
dailyclean=yes
weeklyclean=yes
monthlyclean=yes
backupttl=60" > /var/cpanel/cleanbackups/cleanbackups.config
