Commit b7fff8a7 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) cleanup

parent 91881522
......@@ -2214,8 +2214,6 @@ function interface_wireless_clone($realif, $wlcfg)
$newif = trim($out[0]);
// Rename the interface to {$parentnic}_wlan{$number}#: EX: ath0_wlan0
legacy_interface_rename($newif, $realif);
// FIXME: not sure what ngctl is for. Doesn't work.
// mwexec("/usr/sbin/ngctl name {$newif}: {$realif}", false);
file_put_contents("/tmp/{$realif}_oldmac", get_interface_mac($realif));
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment