mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 02:31:45 -05:00
Merge branch 'master' of github.com:limetech/dynamix-6.2
This commit is contained in:
@@ -11,5 +11,15 @@
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
if ($_POST['#arg'][1] != 'none') unset($keys[$_POST['#section']]); // do nothing when only description has changed
|
||||
if ($_POST['#arg'][1] != 'none') {
|
||||
if ($_POST['BONDING']=='yes') {
|
||||
$nics = explode(',',str_replace('eth0','',$_POST['BONDNICS']));
|
||||
foreach ($nics as $nic) if ($nic) unset($keys[$nic]);
|
||||
}
|
||||
if ($_POST['BRIDGING']=='yes') {
|
||||
$nics = explode(',',str_replace('eth0','',$_POST['BRNICS']));
|
||||
foreach ($nics as $nic) if ($nic) unset($keys[$nic]);
|
||||
}
|
||||
unset($keys[$_POST['#section']]);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user