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