Changeset 26166


Ignore:
Timestamp:
2011-03-15T01:44:15+01:00 (5 years ago)
Author:
acinonyx
Message:

[package] base-files: Autodetect newly added wireless hardware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/etc/init.d/network

    r21588 r26166  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33 
    44START=40 
     
    1010        include /lib/network 
    1111        setup_switch 
     12        /sbin/wifi detect >> /etc/config/wireless 
    1213        grep -qs config /etc/config/wireless && { 
    1314                /sbin/wifi up 
    1415        } || { 
    1516                rm -f /etc/config/wireless 
    16                 /sbin/wifi detect > /etc/config/wireless 
    1717        } 
    1818 
Note: See TracChangeset for help on using the changeset viewer.