* Christian Lamparter <chunk...@googlemail.com> [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 "$driver: Detect failed" > >&2
maybe move it down, otherwise also on boards without wifi we touch '/etc/config/wireless': if eval "detect_$driver" 2>/dev/null >/dev/null; then [ -f /etc/config/wireless ] || touch /etc/config/wireless ... else ... fi bye, bastian _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev