Skip to content

Instantly share code, notes, and snippets.

@raegedoc
raegedoc / 10-wancarp
Last active September 15, 2024 16:06 — forked from spali/10-wancarp
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] : '';