mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 10:08:25 -05:00
Major network enhancements
This commit is contained in:
@@ -37,8 +37,8 @@ if (file_exists($realfile)) {
|
||||
}
|
||||
}
|
||||
unset($custom,$other);
|
||||
exec("ls --indicator-style=none /sys/class/net|grep -P '^br[0-9]'",$custom);
|
||||
exec("ls --indicator-style=none /sys/class/net|grep -P '^(bond|eth)[0-9]'",$other);
|
||||
exec("ls /sys/class/net|grep -P '^br[0-9]'",$custom);
|
||||
exec("ls /sys/class/net|grep -P '^(bond|eth)[0-9]'",$other);
|
||||
foreach ($other as $network) {
|
||||
if (substr($network,0,4)=='bond') {
|
||||
$br = str_replace('bond','br',$network);
|
||||
|
||||
Reference in New Issue
Block a user