Skip to content

Instantly share code, notes, and snippets.

@spali
spali / 10-wancarp
Last active November 19, 2024 13:09
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] : '';