#!/bin/sh

while [ true ]
do
    for FS in `mount -t lfs | cut -f3 -d" "`
    do
	lfsclnd -v ${FS}

	# Terminate if there was a problem.
	if [ $? != 0 ]; then
		exit 1;
	fi

        sleep 10
    done
done

