Skip to content

Instantly share code, notes, and snippets.

View garbast's full-sized avatar

Sebastian Fischer garbast

View GitHub Profile
#!/bin/csh
# cfan.sh
# Manaual control over fans in PfSense (FreeBSD) on a Dell PowerEdge R210 ii system
# Original script: https://www.garron.me/en/bits/specify-editor-crontab-file.html
# Install:
# sudo pkg install ipmitool
# Add ipmi_load="YES" to /boot/loader.conf
# Add this script to /usr/bin/
# Add * * * * * /bin/csh /usr/bin/cfan.sh to cron file with sudo crontab -e
# Reboot
@garbast
garbast / Dockerfile
Created August 6, 2023 12:32
Composer image with rsync and mysql client
# docker build -t composer:test - < Dockerfile
FROM composer:latest
RUN set -eux ; \
apk add --no-cache \
rsync \
mysql-client