Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
7c197d9f
Commit
7c197d9f
authored
11 years ago
by
Jo-Philipp Wich
Browse files
Options
Downloads
Patches
Plain Diff
hostapd: truncate default mac file before adding entries to it (#13797)
SVN-Revision: 37114
parent
5986a18c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/network/services/hostapd/Makefile
+1
-1
1 addition, 1 deletion
package/network/services/hostapd/Makefile
package/network/services/hostapd/files/hostapd.sh
+2
-0
2 additions, 0 deletions
package/network/services/hostapd/files/hostapd.sh
with
3 additions
and
1 deletion
package/network/services/hostapd/Makefile
+
1
−
1
View file @
7c197d9f
...
...
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME
:=
hostapd
PKG_VERSION
:=
20130630
PKG_RELEASE
:=
1
PKG_RELEASE
:=
2
PKG_REV
:=
9e6a321815f924e1e42896538d639e62d7786f6a
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.bz2
...
...
This diff is collapsed.
Click to expand it.
package/network/services/hostapd/files/hostapd.sh
+
2
−
0
View file @
7c197d9f
...
...
@@ -220,7 +220,9 @@ hostapd_set_bss_options() {
if
[
-z
"
$macfile
"
]
then
# if no macfile has been specified, fallback to the default name
# and truncate file to avoid aggregating entries over time
macfile
=
"/var/run/hostapd-
$ifname
.maclist"
echo
""
>
"
$macfile
"
else
if
[
-n
"
$maclist
"
]
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment