Startings of an asterisk config file differ program
yeah yeah it’s mad lame.. but it’s still quicker than copy and pasting to diff the files…. i’ll update this again sometime with a better version #!/bin/bash # script to $DIFF_CMD the new configs dir with what /etc/asterisk currently has # # Set the asterisk config directory # It's important to leave out the trailing slash # AST_CFGDIR="/opt/svn/feb0206/asterisk/configs" AST_RUNDIR="/etc/asterisk/samples" # your diff command location DIFF_CMD='/usr/bin/diff –brief' # # These config files reside in the database, but we still keep # a local copy nearby as a ....