Changeset 12081


Ignore:
Timestamp:
2008-08-03T23:00:01+02:00 (10 years ago)
Author:
nbd
Message:

network scripts: revert the network state after running ifdown, not before

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/sbin/ifdown

    r10367 r12081  
    1111        exit 
    1212} 
    13  
    14 # remove the interface's network state 
    15 uci_revert_state network "$1" 
    1613 
    1714include /lib/network 
     
    6562[ "bridge" = "$iftype" ] && brctl delbr "$ifname" >/dev/null 2>/dev/null 
    6663 
     64# remove the interface's network state 
     65uci_revert_state network "$1" 
     66 
     67 
Note: See TracChangeset for help on using the changeset viewer.