在标准模块中,我们有:
[module/wlan]
type = internal/network
interface-type = wireless
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = disconnected
label-connected = %local_ip%
如何将脚本输出连接到此属性 ( label-connected
)?例如:
label-connected = %local_ip% $(my-script)