[OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps
John kerry
kerry9842 at gmail.com
Wed Sep 16 07:05:53 EDT 2015
Hi,
I understand its not good to mail like this, But I am quite new on this and
even no body knows in my friends about this. Could you please help
I hard coded the interface as below:
set | logger
[ "$ACTION" = "pressed" ] && [ "$BUTTON" = "lanwifi" ] &&
{
devstatus "eth0.2" | grep "up":true &&
{
echo "" > /dev/console
echo "SWITCH TO RJ45" > /dev/console
echo "255" >
/sys/devices/platform/leds-gpio/leds/db120:green:status/brightness
}
}
But still same problem.
Regards,
John
On Wed, Sep 16, 2015 at 6:23 PM, Bastian Bittorf <bittorf at bluebottle.com>
wrote:
> * John kerry <kerry9842 at gmail.com> [16.09.2015 12:18]:
> > I am getting below log:
>
> ok, i see: INTERFACE is not set, so you have to remove the check for
> this var and hardcode it.
>
> please stop sending mails like this, debug on your own with a local friend.
>
> bye, bastian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150916/57d93a5b/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list