Hi,<br><br>I&#39;m working on making a macports version of asterisknow. Macports prefixes the paths with /opt/local, so the regulart /var/lib/asterisk should then become /opt/local/var/lib/asterisk. I&#39;ve noticed that some of the scripts contain paths hardcoded. Can this be changed so they can be prefixed?<br>
<br>Also some paths to binaries don&#39;t match up. On macosx tar is found in /usr/bin/tar (instead of /bin/tar).<br><br>These are the issues I&#39;ve found in the scripts directory:<br><br>scripts/detectdahdi.sh:<br><div style="margin-left: 40px;">
OUTPUTFILE=&quot;/etc/asterisk/dahdi_guiread.conf&quot;<br></div><br>scripts/dldsoundpack:<br><div style="margin-left: 40px;">SOUND_BASE=&quot;/var/lib/asterisk/sounds&quot;<br>echo &quot;DoneDoneDone&quot; &gt;&gt; /var/lib/asterisk/static-http/config/sysinfo_output.html<br>
</div><br>scripts/editmisdn.sh:<br><div style="margin-left: 40px;">MISDNCONF=&quot;/etc/misdn-init.conf&quot;<br>MISDNFILE=&quot;/etc/asterisk/applymisdn.conf&quot;<br></div><br>scripts/editzap.sh:<br><div style="margin-left: 40px;">

ZAPCONF=&quot;/etc/zaptel.conf&quot;<br>
ZAPCONF=&quot;/etc/dahdi/system.conf&quot;<br>
FILENAME=&quot;/etc/asterisk/applyzap.conf&quot;<br></div>
<br>scripts/listfiles:<br><div style="margin-left: 40px;">SYSINFO_OUTPUT=&quot;/var/lib/asterisk/static-http/config/sysinfo_output.html&quot;<br></div><br>scripts/mastercsvexists:<br><div style="margin-left: 40px;">MASTERCSV=&quot;/var/log/asterisk/cdr-csv/Master.csv&quot;<br>
STATICHTTP=&quot;/var/lib/asterisk/static-http/&quot;<br>if [ -f /var/log/asterisk/cdr-csv/Master.csv ]; then<br>ln -s $MASTERCSV /var/lib/asterisk/static-http/config/`basename $MASTERCSV`<br></div><br>scripts/registerg729.sh:<br>
<div style="margin-left: 40px;">
INPUTFILE=&quot;/etc/asterisk/g729reginfo.conf&quot;<br>
OUTPUTFILE=&quot;/etc/asterisk/g729reginfo_tabs.conf&quot;<br></div>
<br>scripts/restorebackup:<br><div style="margin-left: 40px;">
rm /etc/config/dhcpcd*<br></div>
<br>
scripts/takebackup:<br><div style="margin-left: 40px;">
/bin/tar -cf $1 /etc/asterisk /etc/localtime<br>/bin/tar -cf &quot;${SF}&quot;_sounds.tar /var/lib/asterisk/sounds/voicemail /var/lib/asterisk/sounds/record<br></div><br>Would it be appropriate for me to file a bug report?<br>
<br>with kind regards,<br><br>Stefan van der Eijk<br><br>