Skip to content

Instantly share code, notes, and snippets.

@spali
spali / 10-wancarp
Last active November 7, 2024 16:57
Disable WAN Interface on CARP Backup
#!/usr/local/bin/php
<?php
require_once("config.inc");
require_once("interfaces.inc");
require_once("util.inc");
$subsystem = !empty($argv[1]) ? $argv[1] : '';
$type = !empty($argv[2]) ? $argv[2] : '';