You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
402 B
Bash
18 lines
402 B
Bash
#!/bin/sh -e
|
|
. /usr/share/debconf/confmodule
|
|
|
|
db_input high netsyms-business/apiurl || true
|
|
db_go || true
|
|
|
|
db_get netsyms-business/apiurl || true
|
|
APIURL=$RET || true
|
|
|
|
db_input high netsyms-business/apikey || true
|
|
db_go || true
|
|
|
|
db_get netsyms-business/apikey || true
|
|
APIKEY=$RET
|
|
|
|
mkdir -p /etc/netsyms-business
|
|
echo "{\"apiurl\":\"$APIURL\",\"apikey\":\"$APIKEY\"}" > /etc/netsyms-business/config.json
|