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/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 |