asterisk: enable settings
This commit is contained in:
parent
38c27414b0
commit
f97ce9a811
2 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
||||||
# varlibdir => '/var/lib/asterisk'
|
# varlibdir => '/var/lib/asterisk'
|
||||||
|
|
||||||
config asterisk 'general'
|
config asterisk 'general'
|
||||||
option enabled '0'
|
option enabled '1'
|
||||||
option log_stderr '1'
|
option log_stderr '1'
|
||||||
option log_stdout '0'
|
option log_stdout '0'
|
||||||
option options ''
|
option options ''
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
# Copyright (C) 2014 OpenWrt.org
|
# Copyright (C) 2014 OpenWrt.org
|
||||||
|
|
||||||
START=99
|
START=92
|
||||||
|
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
|
|
||||||
|
@ -51,7 +51,6 @@ start_service() {
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command $COMMAND
|
procd_set_param command $COMMAND
|
||||||
procd_append_param command \
|
procd_append_param command \
|
||||||
-U "$NAME" \
|
|
||||||
$options \
|
$options \
|
||||||
-f
|
-f
|
||||||
# forward stderr to logd
|
# forward stderr to logd
|
||||||
|
|
Loading…
Reference in a new issue