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 | |
############## | |
## Mattermost Data Retention Purge Script | |
## Written by: Jeff Lehman, N8ACL | |
## Date Created: 05/30/2021 | |
## Date Last Updated: 05/30/2021 | |
## | |
## Since in the free version of Mattermost, there is no data retension policy that can be set like in the Enterprise Version, we have to do it on our own. | |
## This script is used to delete any posts and files over 6 Months old. This is to help keep the server clean and not fill up. |
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 | |
echo "-------------------------------------------" | |
echo "-- Installing needed packages from repos --" | |
echo "-------------------------------------------" | |
sudo apt-get install -y git cmake libffi-dev libssl-dev build-essential libusb-1.0-0-dev pkg-config | |
echo "------------------------------------------------" | |
echo "-- Cloning rtl-sdr driver files from osmocom --" | |
echo "------------------------------------------------" |