#!/bin/sh

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

case "$1" in
	start)
		if [ ! -f /opt/userdata/.disable-devcfg ]
		then
			(cd /opt/extparam && ${DEVCFG} --write-to-files)
		fi
		;;
	stop)
		;;
	*)
		printf "Usage: %s (start|stop)\\n" "$0"
		exit 1
esac

exit 0
