mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 01:22:25 +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);
|
||||
|
||||
if (!+config.def_captive.debug)
|
||||
fs.unlink(path);
|
||||
fs.unlink(path);
|
||||
|
||||
return reply;
|
||||
},
|
||||
|
||||
@@ -76,8 +76,7 @@ function radius_call(interface, mac, payload) {
|
||||
|
||||
system('/usr/bin/radius-client ' + path);
|
||||
|
||||
if (!+interfaces[interface].settings.debug)
|
||||
fs.unlink(path);
|
||||
fs.unlink(path);
|
||||
}
|
||||
|
||||
// RADIUS Acct-Status-Type attributes
|
||||
|
||||
Reference in New Issue
Block a user