#!/bin/sh

# Load ipmodule variables
. /opt/gira/share/devicestack/ipmodule-vars

case "$1" in
        start)
		sync && /opt/gira/bin/update-md5sum-of-extparam && sync
                /opt/gira/bin/check-md5sum-of-extparam
                ;;
        stop)
                sync && /opt/gira/bin/update-md5sum-of-extparam && sync
                ;;
        *)
                echo "Usage: $0 (start|stop)"
                exit 1
esac

exit 0
