All pastes #406420 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-22 12:39 UTC
rendered paste body
START=40
boot() {
        setup_switch() { return 0; }

        include /lib/network
        setup_switch
        [ -e /etc/config/wireless ] || \
                /sbin/wifi detect > /etc/config/wireless
        /sbin/wifi up
}

start() {
        ifup -a
        /sbin/wifi up
}

restart() {
        ifup -a
        /sbin/wifi up
}

stop() {
        ifdown -a
}