Ignore:
Timestamp:
2011-10-21T03:47:49+02:00 (5 years ago)
Author:
nbd
Message:

add an initial (experimental) version of netifd, disabled by default

Location:
trunk/package/netifd
Files:
5 added
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/package/netifd/files/etc/hotplug.d/iface/00-netstate

    r28498 r28499  
    11[ ifup = "$ACTION" ] && { 
    2         uci_toggle_state network "$INTERFACE" up 1  
     2        uci_toggle_state network "$INTERFACE" up 1 
    33        uci_toggle_state network "$INTERFACE" connect_time $(sed -ne 's![^0-9].*$!!p' /proc/uptime) 
    44        [ -n "$DEVICE" ] && uci_toggle_state network "$INTERFACE" ifname "$DEVICE" 
Note: See TracChangeset for help on using the changeset viewer.