Changeset 9212

Show
Ignore:
Timestamp:
03/14/10 10:52:36 (2 years ago)
Author:
p_lindheimer
Message:

update existing manager.conf file with new permissions, this will need to be added to a 2.7.1 version but at least new framework upgrades will catch this when it is next published

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.7/upgrades/2.7.0/updatemanager.php

    r9211 r9212  
    66 *  everything to the right of a 'read =' or 'write =' permission line with the full set of permissoins Asterisk offers. 
    77 */ 
    8 exec('sed -i.2.6.0.bak "/^\['.$amp_conf['AMPMGRUSER'].'\]/,/^\[.*\]/s/^\(\s*read\s*=\|\s*write\s*=\).*/\1 system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate/" '.$amp_conf['ASTETCDIR'].'/manager.conf',$outarr,$ret); 
     8exec('sed -i.2.7.0.bak "/^\['.$amp_conf['AMPMGRUSER'].'\]/,/^\[.*\]/s/^\(\s*read\s*=\|\s*write\s*=\).*/\1 system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate/" '.$amp_conf['ASTETCDIR'].'/manager.conf',$outarr,$ret); 
    99?>