mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 19:07:47 +00:00
uspot: auto delete radius files from /tmp
Fixes: WIFI-13547 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -221,8 +221,7 @@ return {
|
|||||||
|
|
||||||
let reply = this.fs_popen('/usr/bin/radius-client ' + path);
|
let reply = this.fs_popen('/usr/bin/radius-client ' + path);
|
||||||
|
|
||||||
if (!+config.def_captive.debug)
|
fs.unlink(path);
|
||||||
fs.unlink(path);
|
|
||||||
|
|
||||||
return reply;
|
return reply;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -76,8 +76,7 @@ function radius_call(interface, mac, payload) {
|
|||||||
|
|
||||||
system('/usr/bin/radius-client ' + path);
|
system('/usr/bin/radius-client ' + path);
|
||||||
|
|
||||||
if (!+interfaces[interface].settings.debug)
|
fs.unlink(path);
|
||||||
fs.unlink(path);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// RADIUS Acct-Status-Type attributes
|
// RADIUS Acct-Status-Type attributes
|
||||||
|
|||||||
Reference in New Issue
Block a user