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. 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... that's just me. ymmv. -- Bryan Sent from my iPhone 5...No electrons were harmed in the sending of this message.
On Jul 18, 2014, at 10:39, Thor Wiegman <n7jct@aplaceonthe.net> wrote:
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.
#!/bin/bash #This first part downloads the latest ACID and unpacks it cd /usr/src rm -rf astsrc wget http://allstarlink.org/svn-trunk.tar.gz -O- | tar xzv #This next bit removes the radio_relax module from the code #But I don't remember why I do that mv trunk astsrc cd astsrc sed -i 's/MENUSELECT_CFLAGS=RADIO_RELAX LOADABLE_MODULES/MENUSELECT_CFLAGS=LOADABLE_MODULES/g' /usr/src/astsrc/asterisk/menuselect.makeopts #Compiles the code make upgrade-acid #This part whacks the zaptel drivers into submission. #Without it the newly upgraded ACID will not run cd /usr/src/astsrc/zaptel ./configure make make install make config cd modprobe zaptel service zaptel start service asterisk restart
On 07/17/2014 02:55 AM, app_rpt-users-request@ohnosec.org wrote: Date: Wed, 16 Jul 2014 22:58:52 -0700 From: Tim Sawyer <tim.sawyer@mac.com> To: David Osborn <david.osborn@manx.net> Cc: app_rpt-users@ohnosec.org Subject: Re: [App_rpt-users] App_rpt-users] Cent OS Updating? Message-ID: <60568681-1080-4CFF-A99B-03BB9E276809@mac.com> Content-Type: text/plain; charset="windows-1252"
Good idea. I?ll make myself a note to do that.
On Jul 16, 2014, at 10:55 PM, David Osborn <david.osborn@manx.net> wrote:
Any chance of adding this nugget to the Drupal (or even allstarlink.org) site for future reference? David Osborn GD4HOZ From: Randy Neals [mailto:randy@neals.ca] Sent: 16 July 2014 18:27 To: Thor Wiegman Cc: app_rpt-users@ohnosec.org Subject: Re: [App_rpt-users] App_rpt-users] Cent OS Updating? Wanted to say "Thank You" for this set of instructions.
Just used it to recover my node after a yum update left it hung up and not working. Thanks!
-Randy
On Sun, Apr 13, 2014 at 10:10 AM, Thor Wiegman <n7jct@aplaceonthe.net> wrote: 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:
1) Do all of your OS updates using yum. (Or, I use the tool in Webmin). 2) Update the ACID SVN using these steps: cd /usr/src rm -rf astsrc wget http://x.allstarlink.org/svn-trunk.tar.gz -O- | tar xzv mv trunk astsrc cd astsrc make upgrade-acid 3) Finally update Zaptel with these steps: cd /usr/src/astsrc/zaptel ./configure make make install make config modprobe zaptel service zaptel start service asterisk restart
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.
73 Thor (Operator of N7JCT)
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" 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.