Changeset 37114


Ignore:
Timestamp:
2013-07-01T12:52:35+02:00 (5 years ago)
Author:
jow
Message:

hostapd: truncate default mac file before adding entries to it (#13797)

Location:
trunk/package/network/services/hostapd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/hostapd/Makefile

    r37110 r37114  
    1010PKG_NAME:=hostapd 
    1111PKG_VERSION:=20130630 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313PKG_REV:=9e6a321815f924e1e42896538d639e62d7786f6a 
    1414 
  • trunk/package/network/services/hostapd/files/hostapd.sh

    r36944 r37114  
    221221        then 
    222222                # if no macfile has been specified, fallback to the default name 
     223                # and truncate file to avoid aggregating entries over time 
    223224                macfile="/var/run/hostapd-$ifname.maclist" 
     225                echo "" > "$macfile" 
    224226        else 
    225227                if [ -n "$maclist" ] 
Note: See TracChangeset for help on using the changeset viewer.