diff --git a/plugins/dynamix/EthX.page b/plugins/dynamix/EthX.page index 7c326c5f0..add4d734e 100644 --- a/plugins/dynamix/EthX.page +++ b/plugins/dynamix/EthX.page @@ -16,7 +16,7 @@ Png="ethernet.png" ?> ]'"))==0; +$down = empty($ethX) || strlen(exec("ip link show ethX|grep -om1 ',UP[,>]'"))==0; // get VLAN interfaces $vlan_ethX = [0]; diff --git a/plugins/dynamix/include/update.ethernet.php b/plugins/dynamix/include/update.ethernet.php index 0c2439b07..4ea55919f 100644 --- a/plugins/dynamix/include/update.ethernet.php +++ b/plugins/dynamix/include/update.ethernet.php @@ -11,5 +11,15 @@ */ ?> \ No newline at end of file