summaryrefslogtreecommitdiff
path: root/net/rtpproxy/files/rtpproxy.init
Commit message (Collapse)AuthorAgeFilesLines
* rtpproxy: use return in init scriptSebastian Kemper2022-11-081-2/+2
| | | | | | | "check_ipaddr()" & "start_service()" are functions, hence "return" should be used instead of "exit". Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* rtpproxy: add iface translation to initSebastian Kemper2018-11-051-2/+46
| | | | | | | | | | | | rtpproxy expects IPs as parameters. Lots of OpenWrt devices use connections where the IP is dynamically assigned. This commit adds shell functions to convert an iface like 'wan' to an IP address before adding the parameter to the rtpproxy command line. Explanation is provided in /etc/config/rtpproxy. Some whitespace issues were also fixed. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* rtpproxy: add uci log switchSebastian Kemper2018-11-051-1/+3
| | | | | | | Add log_level option to uci config. Paired with the comment it makes setting the log level easier when no man page is around. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* rtpproxy: convert init to procdSebastian Kemper2018-11-051-17/+34
| | | | | | | | | | | Update rtpproxy init script to use procd. Also increases the start priority to 90 (like the hotplug script) to make sure rtpproxy is started before kamailio. Fixes some whitespace issues along the way, too. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* rtpproxy: add init script and UCI configJiri Slachta2014-12-211-0/+70
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>