#!/bin/bash

. ${TOOLKIT}-functions.sh

file="/etc/default/$MODNAME"

[ -f "$file" ] || {
	installfile "$MODNAME.default" "$file" root:root 640
}


# populate init.d directory
#
add_init_script 21 $MODNAME


$SOMETHING_CHANGED && {
	/etc/init.d/$MODNAME status || {
		/etc/init.d/$MODNAME start || :
	}
}
exit 0
