<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>only change i made to this script, instead of cratering the existing astsrc directory...was to mv it to old.ast.src (after deleting the existing old.ast.src backup dir) directory then continuing.</div><div><br></div><div>Call it years of running computer systems...but sometimes new revs need to be backed out to a previous rev...and if you blow away a running known good source directory...well...</div><div><br>that's just me. ymmv.</div><div>--</div><div><div>Bryan</div><div>Sent from my iPhone 5.<span style="font-size: 13pt;">..No electrons were harmed in the sending of this message.</span></div><div><br><div><br></div></div></div><div><br>On Jul 18, 2014, at 10:39, Thor Wiegman <<a href="mailto:n7jct@aplaceonthe.net">n7jct@aplaceonthe.net</a>> wrote:<br><br></div><blockquote type="cite"><div><span>I'm using this as a script. In my users home directory is a directory called bin (/home/thor/bin) where I keep scripts. Each is made executable (chmod +x script_name). This one I run after any yum update. Call it what you like, I call it update_acid. This isn't entirely my creation, like all things open source, I borrowed from others, especially K0KN. Anyway, by making this an executable script you turn this into an almost painless process.</span><br><span></span><br><span></span><br><span></span><br><span>#!/bin/bash</span><br><span>#This first part downloads the latest ACID and unpacks it</span><br><span>cd /usr/src</span><br><span>rm -rf astsrc</span><br><span>wget <a href="http://allstarlink.org/svn-trunk.tar.gz">http://allstarlink.org/svn-trunk.tar.gz</a> -O- | tar xzv</span><br><span>#This next bit removes the radio_relax module from the code</span><br><span>#But I don't remember why I do that</span><br><span>mv trunk astsrc</span><br><span>cd astsrc</span><br><span>sed -i 's/MENUSELECT_CFLAGS=RADIO_RELAX LOADABLE_MODULES/MENUSELECT_CFLAGS=LOADABLE_MODULES/g' /usr/src/astsrc/asterisk/menuselect.makeopts</span><br><span>#Compiles the code</span><br><span>make upgrade-acid</span><br><span>#This part whacks the zaptel drivers into submission.</span><br><span>#Without it the newly upgraded ACID will not run</span><br><span>cd /usr/src/astsrc/zaptel</span><br><span>./configure</span><br><span>make</span><br><span>make install</span><br><span>make config</span><br><span>cd</span><br><span>modprobe zaptel</span><br><span>service zaptel start</span><br><span>service asterisk restart</span><br><span></span><br><span></span><br><span></span><br><span></span><br><span>On 07/17/2014 02:55 AM, <a href="mailto:app_rpt-users-request@ohnosec.org">app_rpt-users-request@ohnosec.org</a> wrote:</span><br><blockquote type="cite"><span>Date: Wed, 16 Jul 2014 22:58:52 -0700</span><br></blockquote><blockquote type="cite"><span>From: Tim Sawyer <<a href="mailto:tim.sawyer@mac.com">tim.sawyer@mac.com</a>></span><br></blockquote><blockquote type="cite"><span>To: David Osborn <<a href="mailto:david.osborn@manx.net">david.osborn@manx.net</a>></span><br></blockquote><blockquote type="cite"><span>Cc: <a href="mailto:app_rpt-users@ohnosec.org">app_rpt-users@ohnosec.org</a></span><br></blockquote><blockquote type="cite"><span>Subject: Re: [App_rpt-users] App_rpt-users] Cent OS Updating?</span><br></blockquote><blockquote type="cite"><span>Message-ID: <<a href="mailto:60568681-1080-4CFF-A99B-03BB9E276809@mac.com">60568681-1080-4CFF-A99B-03BB9E276809@mac.com</a>></span><br></blockquote><blockquote type="cite"><span>Content-Type: text/plain; charset="windows-1252"</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Good idea. I?ll make myself a note to do that.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>On Jul 16, 2014, at 10:55 PM, David Osborn <<a href="mailto:david.osborn@manx.net">david.osborn@manx.net</a>> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>Any chance of adding this nugget to the Drupal (or even <a href="http://allstarlink.org">allstarlink.org</a>) site for future reference?</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> David Osborn</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>GD4HOZ</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> From: Randy Neals [<a href="mailto:randy@neals.ca">mailto:randy@neals.ca</a>]</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Sent: 16 July 2014 18:27</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>To: Thor Wiegman</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Cc: <a href="mailto:app_rpt-users@ohnosec.org">app_rpt-users@ohnosec.org</a></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Subject: Re: [App_rpt-users] App_rpt-users] Cent OS Updating?</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> Wanted to say "Thank You" for this set of instructions.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Just used it to recover my node after a yum update left it hung up and not working. Thanks!</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>-Randy</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>On Sun, Apr 13, 2014 at 10:10 AM, Thor Wiegman <<a href="mailto:n7jct@aplaceonthe.net">n7jct@aplaceonthe.net</a>> wrote:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>My experience is exactly what Jim suggests, it kills the Zaptel modules. With the ACID distro what I end up doing is a complete update of the OS then I do a complete update and recompile of the SVN. Basically you:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>1) Do all of your OS updates using yum. (Or, I use the tool in Webmin).</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>2) Update the ACID SVN using these steps:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> cd /usr/src</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> rm -rf astsrc</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> wget <a href="http://x.allstarlink.org/svn-trunk.tar.gz">http://x.allstarlink.org/svn-trunk.tar.gz</a> -O- | tar xzv</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> mv trunk astsrc</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> cd astsrc</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> make upgrade-acid</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>3) Finally update Zaptel with these steps:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> cd /usr/src/astsrc/zaptel</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> ./configure</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> make</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> make install</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> make config</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> modprobe zaptel</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> service zaptel start</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> service asterisk restart</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I have no idea if this is the "right" way to do all this. But I do know that it's working for me. YMMV.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>73</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Thor (Operator of N7JCT)</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><span></span><br><span>_______________________________________________</span><br><span>App_rpt-users mailing list</span><br><span><a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a></span><br><span><a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a></span><br><span></span><br><span>To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"</span><br><span>You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. </span><br></div></blockquote></body></html>