Skip to content

Instantly share code, notes, and snippets.

@vc1cv1
vc1cv1 / 10-wancarp
Last active December 27, 2024 08:05 — forked from spali/10-wancarp
Disable WAN Interface on CARP Backup
#last updated for opnsense 24.7.11_2
#!/usr/local/bin/php
<?php
require_once("config.inc");
require_once("interfaces.inc");
require_once("util.inc");
require_once("system.inc");
$subsystem = !empty($argv[1]) ? $argv[1] : '';