# Get the value of a property defined in the service xml.
}
if [ -z ${DATADIR} ]; then
exit $SMF_EXIT_ERR_CONFIG
fi
if [ ! -d ${DATADIR} ]; then
exit $SMF_EXIT_ERR_CONFIG
fi
RETVAL=0
# Check if it is already running
if [ ! -f ${LOCKFILE} ]; then
$PROGNAME -o use_dbus:yes -o controlpoint:yes -c $CONFIGFILE &
RETVAL=$?
echo
fi
return $RETVAL
}
stop() {
RETVAL=$?
RETVAL=$?
return $RETVAL
}
$0 stop
$0 start
}
}
case "$1" in
;;
stop)
stop
;;
;;
;;
if [ -f ${LOCKFILE} ]; then
fi
;;
;;
*)
exit 1
esac
exit $RETVAL