Merge pull request #24 from dacarley/watch-for-uploaded-files

Added a filesystem watcher for uploaded files
This commit is contained in:
OneFinityCNC
2021-03-06 14:51:52 -05:00
committed by GitHub
4 changed files with 20 additions and 1 deletions

View File

@@ -118,6 +118,12 @@ fi
# Install rc.local
cp scripts/rc.local /etc/
# Ensure that the watchdog python library is installed
pip3 list --format=columns | grep watchdog >/dev/null
if [ $? -ne 0 ]; then
pip3 install scripts/watchdog-v0.10.6.tar.gz
fi
# Install bbctrl
if $UPDATE_PY; then
rm -rf /usr/local/lib/python*/dist-packages/bbctrl-*

Binary file not shown.