ipmitool -I lanplus -H <iDRAC-IP> -U <iDRAC-USER> -P <iDRAC-PASSWORD> sensor reading "Ambient Temp" "FAN 1 RPM" "FAN 2 RPM" "FAN 3 RPM"
#!/bin/bash | |
echo "Starting backup of appdata" | |
rclone sync /mnt/user/Docker\ Backup backblaze:some-bucket/Docker\ Backup --transfers 1 --bwlimit 75M | |
echo "Starting backup of Shared Documentation" | |
rclone sync /mnt/user/Shared\ Documentation backblaze:some-bucket/Shared\ Documentation --bwlimit 75M | |
echo "Starting backup of Read Media" | |
rclone sync /mnt/user/Read_Media/Music backblaze:some-bucket/Read_Media/Music --bwlimit 75M | |
echo "Starting backup of Pictures" | |
rclone sync /mnt/user/Pictures backblaze:some-bucket/Pictures --bwlimit 75M | |
echo "Starting backup of Workdata" |
#!/bin/bash | |
# Gather current power status | |
AC_POWER=`ioreg -l | grep ExternalConnected | cut -d"=" -f2 | sed -e 's/ //g'` | |
# Gather details about current wifi network | |
WIFI_NETWORK=`networksetup -getairportnetwork en0 | grep 'Current Wi-Fi Network' | cut -c 24-` | |
# Specify the name of your home / office wifi network here | |
HOME_WIFI=my_home_wifi |
#!/bin/sh | |
# A simple script for remotely rebooting a Ubiquiti UniFi access point | |
# Version 1.0 (Dec 15, 2015) | |
# by Steve Jenkins (http://www.stevejenkins.com/) | |
# Requires sshpass (https://sourceforge.net/projects/sshpass/) which | |
# is probably available via dnf, yum, or apt on your *nix distro. | |
# USAGE |