summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-pbx-voicemail/root/etc/pbx-voicemail/pbx-move-greeting
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-pbx-voicemail/root/etc/pbx-voicemail/pbx-move-greeting')
-rwxr-xr-xapplications/luci-app-pbx-voicemail/root/etc/pbx-voicemail/pbx-move-greeting6
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-pbx-voicemail/root/etc/pbx-voicemail/pbx-move-greeting b/applications/luci-app-pbx-voicemail/root/etc/pbx-voicemail/pbx-move-greeting
new file mode 100755
index 000000000..21fe69414
--- /dev/null
+++ b/applications/luci-app-pbx-voicemail/root/etc/pbx-voicemail/pbx-move-greeting
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ -f "/tmp/voicemail/greeting.gsm" ]
+then
+ mv /tmp/voicemail/greeting.gsm /etc/pbx-voicemail/recordings/
+fi