summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index f6a3f73..7a30022 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -660,7 +660,9 @@ EOD;
/* set ack timers according to users preference (if he/she has any) */
if($distance) {
mwexec("/sbin/athctrl.sh -i {$if} -d {$distance}");
- mwexec("echo /sbin/athctrl.sh -i {$if} -d {$distance} >/tmp/athctrl.txt");
+ $fd = fopen("/tmp/athctrl.txt", "w");
+ fwrite($fd, "/sbin/athctrl.sh -i {$if} -d {$distance}");
+ fclose($fd);
}
if(isset($wlcfg['useolsr']))
OpenPOWER on IntegriCloud