#17759: rc.local can not run when boot
--------------------------+----------------------------------
  Reporter:  anonymous    |      Owner:  developers
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  Chaos Calmer (trunk)
 Component:  base system  |    Version:  Trunk
Resolution:               |   Keywords:  rc.local
--------------------------+----------------------------------

Comment (by bittorf@…):

 the clean approach would be to support
 {{{
 option 'legacy_rate' '11'
 }}}

 in wifi-options = /lib/netifd/wireless/mac80211.sh
 the "bad" approach is to use a hotplug-script in e.g.
 /etc/hotplug.d/iface/60-wifibitrate

 {{{
 [ "$ACTION" = 'ifup' -a "$DEVICE" = 'wlan1-1' ] && {
   logger "setting bitrate for $DEVICE"
   iw dev $DEVICE set bitrates legacy-2.4 '11'
 }
 }}}
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/17759#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to