This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/php | |
<?php | |
/* | |
This script can be used with OPNsense when using CARP in certain circumstances where CARP is desired on the LAN side | |
but where CARP cannot run on the WAN side. This script runs each time an event by CARP is generated. In the event that | |
there are multiple LAN interfaces where CARP is enabled, this script will check that all interfaces where CARP is | |
enabled are in a particular state (MASTER/BACKUP) before enabling or disabling its WAN interfaces. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Backup a Plex database. | |
# Author Scott Smereka | |
# Author willjasen | |
# Version 2.0 | |
# Script Tested on: | |
# Ubuntu 12.04 on 2/2/2014 [ OK ] |