From 739135ed4d43cf3e6674907bf0cdf9603b3cafe5 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 26 Sep 2018 16:42:05 +0200 Subject: [PATCH] TT#44827 Remove /usr/sbin/moh-cleanup from NGCP (not in use since mr5.5) mr5.5 has migrated from ngcp-sems 1.4 to sems-pbx 2.x and the folder /var/spool/ngcp/moh/ was no longer in use, moreover it is not created on newly installed servers since mr5.5 It is time to clean it to prevent missunderstandings here. Change-Id: I75cdeba9c3652fe8944f3c1321cceb27c22e5fa6 --- debian/ngcp-cleanup-tools-pro.install | 1 - moh-cleanup | 5 ----- 2 files changed, 6 deletions(-) delete mode 100755 moh-cleanup diff --git a/debian/ngcp-cleanup-tools-pro.install b/debian/ngcp-cleanup-tools-pro.install index 57efb35..9dc9193 100644 --- a/debian/ngcp-cleanup-tools-pro.install +++ b/debian/ngcp-cleanup-tools-pro.install @@ -2,5 +2,4 @@ usr/share/perl5/NGCP/Cleanup.pm usr/share/perl5/NGCP/ acc-cleanup.conf etc/ngcp-cleanup-tools/ acc-cleanup.pl usr/sbin/ cleanup-old-cdr-files.pl usr/sbin/ -moh-cleanup usr/sbin/ sems_cleanup.pl usr/sbin/ diff --git a/moh-cleanup b/moh-cleanup deleted file mode 100755 index 203bb3f..0000000 --- a/moh-cleanup +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# removes all music-on-hold cache files older than 24h - -find /var/spool/ngcp/moh/ -type f -ctime 1 -exec rm {} \;