#!/bin/sh

# Copyright (C) 2018 Algo Communication Products Ltd.
# Perform system integrity checking

FLAGFN=/run/sic.flag
STATUSFN=/run/algo-sic.status

if [ ! -f "$FLAGFN" ]; then
	rm $STATUSFN
	debsums -c > $FLAGFN
	mv $FLAGFN $STATUSFN
fi
