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
#!/bin/bash
#
# This script will
# * fire up a ramdisk
# * start a mysql server using it as storage
# * copying your typo3 database to ram
# * run the tests
# * clean up
#
# use -k as parameter to clean-up after a failed run