jvb: regenerate config on every boot

pull/791/head
Saúl Ibarra Corretgé 4 years ago
parent 3ef222152e
commit 0c957941bc
  1. 5
      jvb/rootfs/etc/cont-init.d/10-config

@ -13,8 +13,9 @@ if [[ "$JVB_AUTH_PASSWORD" == "$OLD_JVB_AUTH_PASSWORD" ]]; then
exit 1 exit 1
fi fi
if [[ ! -f /config/sip-communicator.properties ]]; then tpl /defaults/sip-communicator.properties > /config/sip-communicator.properties
tpl /defaults/sip-communicator.properties > /config/sip-communicator.properties if [[ -f /config/custom-sip-communicator.properties ]]; then
cat /config/custom-sip-communicator.properties >> /config/sip-communicator.properties
fi fi
if [[ ! -f /config/logging.properties ]]; then if [[ ! -f /config/logging.properties ]]; then

Loading…
Cancel
Save