On 05/30/2012 03:12 PM, Felix Fietkau wrote:
Please post the full script. What does 'ifstatus mesh' show?

This is the skeleton of the script

#!/bin/sh

[ -n "$INCLUDE_ONLY" ] || {
        . /etc/functions.sh
        . ../netifd-proto.sh
        init_proto "$@"
}

proto_wing_init_config() {
        logger "wing init"
        no_device=1
        available=1
        proto_config_add_string "ipaddr"
}

proto_wing_teardown() {
        ...
}

proto_wing_setup() {
        logger "wing setup"
        ...
}

[ -n "$INCLUDE_ONLY" ] || {
        add_protocol wing
}

the output of ifstatus mesh is:
{
        "up": false,
        "pending": true,
        "available": true,
        "autostart": true,
        "data": {

        }
}

Thanks
R.

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to