This file contains hidden or 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/sh | |
# | |
# Shell script for restarting all Unifi APs for specified site | |
# Usage: unifi_count_site username password baseurl site | |
# Requirements: shell, jq (https://stedolan.github.io/jq/) | |
# | |
username=$1 | |
password=$2 | |
baseurl=$3 |
This file contains hidden or 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/sh | |
# ------------ BACKUP 1.0.0 "rc.backup" ------------- | |
# All rights reserved for B@roo 2000-2016 | |
# ----------------------------------------------------- | |
#set -x | |
# ------------------- Configuration ------------------- | |
DIR=/var/log/backup | |
# ------------------- Create backup ------------------- |