Changeset 24213 for branches/backfire


Ignore:
Timestamp:
2010-12-01T20:56:14+01:00 (5 years ago)
Author:
jow
Message:

[backfire] merge r24212

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/base-files/files/etc/hotplug.d/iface/00-netstate

    r24207 r24213  
    11[ ifup = "$ACTION" ] && { 
    22        uci_set_state network "$INTERFACE" up 1  
    3         uci_set_state network "$INTERFACE" connect_time $(date +%s) 
     3        uci_set_state network "$INTERFACE" connect_time $(sed -ne 's![^0-9].*$!!p' /proc/uptime) 
    44        [ -n "$DEVICE" ] && uci_set_state network "$INTERFACE" ifname "$DEVICE" 
    55} 
Note: See TracChangeset for help on using the changeset viewer.