diff --git a/usr/local/www/interfaces_lagg.php b/usr/local/www/interfaces_lagg.php
new file mode 100644
index 0000000000..f2643df61f
--- /dev/null
+++ b/usr/local/www/interfaces_lagg.php
@@ -0,0 +1,136 @@
+
{$if}";
+ return true;
+ }
+ }
+
+ return false;
+}
+
+if ($_GET['act'] == "del") {
+ /* check if still in use */
+ if (lagg_inuse($_GET['id'])) {
+ $input_errors[] = "This lagg interface cannot be deleted because it is still being used.";
+ } else {
+ mwexec("/sbin/ifconfig " . $a_laggs[$_GET['id']]['laggif'] . " destroy");
+ unset($a_laggs[$_GET['id']]);
+
+ write_config();
+
+ header("Location: interfaces_lagg.php");
+ exit;
+ }
+}
+
+
+$pgtitle = array("Interfaces","LAGG");
+include("head.inc");
+
+?>
+
+
| + + |
| + + | +