Commit graph

5 commits

Author SHA1 Message Date
Sebastian Kemper
d78c4e07fa freeswitch-stable: replace defaults with uci
This commit replaces /etc/default/freeswitch with /etc/config/freeswitch.
This way the init and hotplug configuration can be done with uci instead of
having to edit a file.

This also does away with the busybox ntpd warning. ntpd uses the same
configuration in system and it looks like busybox's ntpd is not used when
ntpd is installed.

Lastly some log strings are amended to start with a lowercase letter.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-26 12:36:48 +02:00
Sebastian Kemper
b7ce37ba0b freeswitch-stable: add SIGKILL to init script
Sometimes freeswitch doesn't exit after receiving the SIGTERM signal.
This can be reproduced by sending SIGTERM to a freeswitch instance which
is initializing (which can take quite some time).

Instead of just giving up and exiting - leaving a hung freeswitch
process on the system - this commit adds some lines to the init script
that send SIGKILL to freeswitch in case the attempt to terminate it with
SIGTERM fails.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-05 14:56:08 +02:00
Sebastian Kemper
53073babbf freeswitch-stable: improve autostart prevention
The current approach (creating a blocker file) is clumsy. Use a variable
in /etc/default/freeswitch instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:05:52 +01:00
Sebastian Kemper
3f169145df freeswitch-stable: init script update
- Use "-nc -nf" always. When started by procd freeswitch detects the
  console to be orphaned and disables it. So disable the interactive
  console but force freeswitch to not fork into background.
- Improve readability of command parameters.
- Minor changes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:37:22 +01:00
Sebastian Kemper
9d1c7211c0 Add FreeSWITCH stable packages
- FreeSWITCH stable series for OpenWrt/LEDE
 - clean, simple Makefiles
 - provides 'freeswitch' user on target device, no need for root
 - procd init script
 - musl and glibc support
 - SHA256 for download verification
 - hotplug script with extras (condition checks)
 - package size reduced

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-03-18 16:38:13 +01:00