<div>Richard,</div> <div> </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 <r.neese@gmail.com></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 &&<BR>pkg_add -F * 2> /root/errorlog &&<BR>cd ../ &&<BR>rehash <BR>rm -rf /usr/local/etc/asterisk/*dist &&<BR>cd asterisk-configs/
&& <===== this is where it breaks on amd64 but works <BR>fine on i386<BR>cp -rp *.* /usr/local/etc/asterisk &&<BR>cd ../ &&<BR>mv /usr/local/sbin/safe_asterisk /root &&<BR>ln -s /usr/local/sbin/asterisk /usr/local/sbin/safe_asterisk &&<BR>/usr/local/lib/webmin/setup.sh &&<BR>perl /usr/local/lib/webmin/./install-module.pl <BR>thirdlane/thirdlane-sc-5.wbm /usr/local/etc/webmin &&<BR>cd phone-firmware &&<BR>cp -rp * /usr/local/lib/webmin/unauthenticated/provisioning &&<BR>cd ../ &&<BR>cd etc/ &&<BR>cat rc.conf >> /etc/rc.conf &&<BR>cat periodic.conf >> /etc/periodic.conf && <BR>rm -rf /etc/motd &&<BR>cat motd >> /etc/motd &&<BR>cd ../ &&<BR>cat gui-access.txt &&<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> 
<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.