Week of 3 8 21 - lmkelly/Autoguard GitHub Wiki

This week I worked on integrating my original back-end script into my new back-end setup with the directory monitoring I setup with inotifywait. The biggest problem I encountered was trying to get the script to distinguish directories from files because when it would try to parse a directory and input it into the wireguard config file it made everything break. Eventually, I was able to get it all working with a bit of trial and error of the if statement which distinguished between files and directories, and was even able to combine my two working scripts into one which I have now implemented as a service on the machine. The main strength I gained this week is proficiency in bash, I've been dragging my heels on it for a while but it's starting to come together more now. As for next week, I'll be focusing more on a way to integrate authentication into this process to avoid the security concerns which may become prevalent in using such an open design.