blob: 4a3d75ac7c01d3a6f5c3bdeca28ddb17d05a9bf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
. /etc/attappl.env
. ${PROJECT_HOME}/etc/default.env
. ${PROJECT_HOME}/siteconfig/siteconf.info
# only run on primary adm vm
# ${Rank} comes from siteconf.info
if [ ${Rank} == '1' ]; then
cd /opt/admportal/server
node ./netdb_updater.js -t ${1} -d ${2} >/dev/null 2>&1
fi
|