diff options
Diffstat (limited to 'system/freeswitch/doinst.sh')
-rw-r--r-- | system/freeswitch/doinst.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/system/freeswitch/doinst.sh b/system/freeswitch/doinst.sh index e9bc581d41917..cd4c119b553d0 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 |