#!/bin/sh

cat /proc/mounts | grep config_backup >/dev/null
RET=$?
if [ $RET -eq 0 ]
then
	# then backup to the backup partition
	rsync -q -a --delete /etc/persistence/* /config_backup/
	sync
fi
