[ "$1" = "configure" ] || exit 0
[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
-# Load CARNet Tools
+# Load CARNET Tools
. /usr/share/carnet-tools/functions.sh
+
# Load Debconf
. /usr/share/debconf/confmodule
ocsmethod="http"
-ocsserver="https://inventory.CARNet.hr/ocsinventory"
+ocsserver="https://inventory.carnet.hr/ocsinventory"
db_get ocsinventory-agent/method || true
method="$RET"