Re: [LEDE-DEV] [PATCH v3 1/4] base-files: generate /etc/config/wireless, if it doesn't exist

2016-10-18 Thread Christian Lamparter
On Tuesday, October 18, 2016 12:05:43 PM CEST Bastian Bittorf wrote: > * Christian Lamparter [18.10.2016 08:41]: > > wifi_detect() { > > + [ ! -f /etc/config/wireless ] && touch /etc/config/wireless > > + > > for driver in $DRIVERS; do ( > > if eval "type detect_$driver" 2>/dev/

Re: [LEDE-DEV] [PATCH v3 1/4] base-files: generate /etc/config/wireless, if it doesn't exist

2016-10-18 Thread Bastian Bittorf
* Christian Lamparter [18.10.2016 08:41]: > wifi_detect() { > + [ ! -f /etc/config/wireless ] && touch /etc/config/wireless > + > for driver in $DRIVERS; do ( > if eval "type detect_$driver" 2>/dev/null >/dev/null; then > eval "detect_$driver" || echo