Use json_is_true() in place of json_boolean_value() for compatibility
[trust_router.git] / redhat / trust_router-wrapper
1 #! /usr/bin/env bash
2
3 cd "${2}"
4
5 /usr/bin/trust_router > "${3}.$(date +'%Y%m%d%H%M')" 2>&1 &
6 BGPID=$!
7 RET=$?
8
9 echo "${BGPID}" > "${1}"
10
11 exit "${RET}"