<div>Richard,</div>  <div>&nbsp;</div>  <div>I know what you mean. I went in and commented out all the lines in this script except for the ones that simple cd to some other directory. I then added some pwd commands right underneath each of these to have it print out the current directory. It worked without a problem and even cd'ed to the asterisk-configs directory. But when I run the script as it is it crashes.<BR><BR><B><I>Richard Neese &lt;r.neese@gmail.com&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">OK I tried working on the amd64 install issue and it is pissing me off. It <BR>should work just like on i386 but its not.<BR><BR>I tested this 4 times on fresh installs. Any input would help.<BR><BR><BR>#!/bin/sh<BR>#<BR>cd pkgs &amp;&amp;<BR>pkg_add -F * 2&gt; /root/errorlog &amp;&amp;<BR>cd ../ &amp;&amp;<BR>rehash <BR>rm -rf /usr/local/etc/asterisk/*dist &amp;&amp;<BR>cd asterisk-configs/
 &amp;&amp; &lt;===== this is where it breaks on amd64 but works <BR>fine on i386<BR>cp -rp *.* /usr/local/etc/asterisk &amp;&amp;<BR>cd ../ &amp;&amp;<BR>mv /usr/local/sbin/safe_asterisk /root &amp;&amp;<BR>ln -s /usr/local/sbin/asterisk /usr/local/sbin/safe_asterisk &amp;&amp;<BR>/usr/local/lib/webmin/setup.sh &amp;&amp;<BR>perl /usr/local/lib/webmin/./install-module.pl <BR>thirdlane/thirdlane-sc-5.wbm /usr/local/etc/webmin &amp;&amp;<BR>cd phone-firmware &amp;&amp;<BR>cp -rp * /usr/local/lib/webmin/unauthenticated/provisioning &amp;&amp;<BR>cd ../ &amp;&amp;<BR>cd etc/ &amp;&amp;<BR>cat rc.conf &gt;&gt; /etc/rc.conf &amp;&amp;<BR>cat periodic.conf &gt;&gt; /etc/periodic.conf &amp;&amp; <BR>rm -rf /etc/motd &amp;&amp;<BR>cat motd &gt;&gt; /etc/motd &amp;&amp;<BR>cd ../ &amp;&amp;<BR>cat gui-access.txt &amp;&amp;<BR>shutdown -r +1 <BR><BR>_______________________________________________<BR>--Bandwidth and Colocation Provided by
 http://www.api-digital.com--<BR><BR>Asterisk-BSD mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-bsd<BR></BLOCKQUOTE><BR><p>&#32;
      <hr size=1><a href="http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50">Pinpoint customers </a>who are looking for what you sell.