Changeset 2138

Show
Ignore:
Timestamp:
07/14/06 09:54:18 (7 years ago)
Author:
gregmac
Message:

install_amp now passes --debug flag to retrieve_conf

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/install_amp

    r2122 r2138  
    421421  global $amp_conf; 
    422422  global $dryrun; 
     423  global $debug; 
    423424   
    424425  out("Generating Configurations.conf.."); 
    425426  if (!$dryrun) 
    426     passthru("su - asterisk -c ".trim($amp_conf["AMPBIN"])."/retrieve_conf"); 
     427    passthru("su - asterisk -c ".trim($amp_conf["AMPBIN"])."/retrieve_conf ".($debug ? ' --debug' : '')); 
    427428} 
    428429