mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Give sorting order as parameter
This commit is contained in:
parent
589eb3f98b
commit
ffc954f193
5 changed files with 17 additions and 5 deletions
|
|
@ -1,4 +1,5 @@
|
|||
config 'settings' 'dawn'
|
||||
option broadcast_ip '192.186.1.255'
|
||||
option broadcast_port '1025'
|
||||
option sort_order 'cfsb'
|
||||
option background '0'
|
||||
|
|
@ -18,12 +18,15 @@ start_service()
|
|||
config_load "${NAME}"
|
||||
config_get broadcast_ip dawn broadcast_ip
|
||||
config_get broadcast_port dawn broadcast_port
|
||||
config_get sort_order dawn sort_order
|
||||
|
||||
procd_open_instance
|
||||
echo "$PROG -p $broadcast_port -i $broadcast_ip"
|
||||
echo "$PROG -p $broadcast_port -i $broadcast_ip -o $sort_order"
|
||||
procd_set_param command "$PROG"
|
||||
procd_append_param command -p "${broadcast_port}"
|
||||
procd_append_param command -i "${broadcast_ip}"
|
||||
procd_append_param command -o "${sort_order}"
|
||||
|
||||
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue