3 # Copyright (C) 2011 OpenWrt.org
14 uci
-q get telephony.
$cfg && return 0
17 set telephony.$cfg='relay'
18 set telephony.$cfg.gpio='$gpio'
19 set telephony.$cfg.value='$val'
29 uci
-q get telephony.
$cfg && return 0
32 set telephony.$cfg='port'
33 set telephony.$cfg.id='$id'
34 set telephony.$cfg.led='$led'
35 set telephony.$cfg.noring='0'
36 set telephony.$cfg.nodial='0'
43 board
=$
(lantiq_board_name
)
48 set_port
0 "soc:green:fxs1"
49 #set_port 1 "soc:green:fxs2"
53 [ "$COMMIT_TELEPHONY" == "1" ] && uci commit telephony
This page took 0.047168 seconds and 5 git commands to generate.