/[smecontribs]/rpms/smeserver-freepbx/contribs10/smeserver-freepbx-14-bz11940-bz9756-cron.patch
ViewVC logotype

Diff of /rpms/smeserver-freepbx/contribs10/smeserver-freepbx-14-bz11940-bz9756-cron.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Sun Apr 17 01:46:29 2022 UTC Revision 1.2 by jpp, Wed Dec 7 06:52:53 2022 UTC
# Line 21  diff -Nur --no-dereference smeserver-fre Line 21  diff -Nur --no-dereference smeserver-fre
21  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-cron smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-cron  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-cron smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-cron
22  --- smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-cron       1969-12-31 19:00:00.000000000 -0500  --- smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-cron       1969-12-31 19:00:00.000000000 -0500
23  +++ smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-cron   2022-04-16 21:36:24.262000000 -0400  +++ smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-cron   2022-04-16 21:36:24.262000000 -0400
24  @@ -0,0 +1,21 @@  @@ -0,0 +1,22 @@
25  +#!/bin/bash  +#!/bin/bash
26  +  +
27  +path='PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/root\/bin'  +path='PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/root\/bin'
28  +cronfile='/var/spool/cron/asterisk2'  +cronfile='/var/spool/cron/asterisk'
29    +[ ! -f $cronfile ] &&  exit 0
30  +status=$(/sbin/e-smith/config getprop freepbx status || echo "disabled")  +status=$(/sbin/e-smith/config getprop freepbx status || echo "disabled")
31  +  +
32  +# add PATH to fist line if not present; else update it  +# add PATH to fist line if not present; else update it


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed