summaryrefslogtreecommitdiffstats
path: root/system/freeswitch/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/freeswitch/doinst.sh')
-rw-r--r--system/freeswitch/doinst.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/freeswitch/doinst.sh b/system/freeswitch/doinst.sh
index e9bc581d41..cd4c119b55 100644
--- a/system/freeswitch/doinst.sh
+++ b/system/freeswitch/doinst.sh
@@ -25,7 +25,6 @@ preserve_perms() {
preserve_perms etc/rc.d/rc.freeswitch.new
config etc/logrotate.d/freeswitch.new
-for i in $(find opt/freeswitch/conf -type f -name '*.new'); do
- config $i
-done
+find opt/freeswitch/conf -type f -name '*.new' \
+ | while read new ; do config $new ; done