conf_gen.sh 663 B

123456789101112
  1. #!/bin/sh
  2. [ -f /etc/scripts/extension_gen ] && /etc/scripts/extension_gen 0
  3. [ -f /etc/scripts/extension_gen ] && /etc/scripts/extension_gen 1
  4. [ -f /etc/scripts/generate_trunk_conf ] && /etc/scripts/generate_trunk_conf trunk
  5. [ -f /etc/scripts/generate_trunk_conf ] && /etc/scripts/generate_trunk_conf did
  6. [ -f /etc/scripts/generate_trunk_conf ] && /etc/scripts/generate_trunk_conf dod
  7. [ -f /etc/scripts/generate_group_conf ] && /etc/scripts/generate_group_conf
  8. [ -f /etc/scripts/generate_context_conf ] && /etc/scripts/generate_context_conf
  9. [ -f /etc/scripts/generate_extension_conf ] && /etc/scripts/generate_extension_conf
  10. /usr/sbin/asterisk -rx "core reload"