Skip to content

Instantly share code, notes, and snippets.

View cryobry's full-sized avatar

Bryan Roessler cryobry

View GitHub Profile
@cryobry
cryobry / install-btrfsmaintenance.sh
Last active October 14, 2021 21:50
Install btrfsmaintenance
#!/usr/bin/env bash
# Generic btrfsmaintenance install script
# Copyright 2021 Bryan C. Roessler
# Optionally provide the config directory manually
if [[ $# -lt 1 ]]; then
if [[ -d /etc/sysconfig ]]; then
CONFDIR=/etc/sysconfig
elif [[ -d /etc/default ]]; then
CONFDIR=/etc/default