Run cryptominer while the screen is locked

dbus-monitor –session “type=signal,interface=org.gnome.ScreenSaver” | while read MSG; do LOCK_STAT=`echo $MSG | grep boolean | awk ‘{print $2}’` if [[ “$LOCK_STAT” == “true” ]]; then echo “was locked” killall ethdcrminer64 screen -d -m /home/user/Downloads/Claymore/ethdcrminer64 -epool exp-us.dwarfpool.com:8018 -ewal 0xaddresshere/m3 -epsw x -allpools 1 -gser 2 -allcoins exp else echo “was un-locked” killall ethdcrminer64 fi done

Read More »

Moutning a CephFS share using ceph-fuse

I always forget how to mount the subfolder of a CephFS filesystem sudo ceph-fuse -m 192.168.2.9:6789 -r /subfolder /folder/on/my/machine Note: The proceeding / after the -r is important Some great info here on restricting access to specific folders and more notes on mounting – https://manjusri.ucsc.edu/2017/09/25/ceph-fuse/

Read More »