shared upload fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
Updated July 20, 2023.
|
||||
Updated January 15, 2024.
|
||||
|
||||
Want to support this work? Buy Me a Coffee. https://www.buymeacoffee.com/ppaukstelis.
|
||||
Need help with octoprint_deploy? Ask on Discord: https://discord.gg/6vgSjgvR6u
|
||||
@@ -62,6 +62,7 @@ Need help with octoprint_deploy? Ask on Discord: https://discord.gg/6vgSjgvR6u
|
||||
* Restart all instances from the command line: `sudo octoprint_deploy/octoprint_deploy.sh restart_all`
|
||||
* You can inject any function at start using the command line with the first argument `f` and the second argument the function name.
|
||||
# Recent Changes
|
||||
* Fixes for shared uploads function.
|
||||
* Command-line function injection. Will be useful in some cases.
|
||||
* Allow first instance creation without udev rule
|
||||
* Fixed dialout permissions.
|
||||
|
||||
2
util.sh
2
util.sh
@@ -175,7 +175,7 @@ share_uploads() {
|
||||
unset 'INSTANCE_ARR[-1]'
|
||||
unset 'INSTANCE_ARR[-1]'
|
||||
for instance in "${INSTANCE_ARR[@]}"; do
|
||||
$OCTOEXEC --basedir /home/$user/.$instance config set folder.uploads "$opt"
|
||||
sudo -u $user $OCTOEXEC --basedir /home/$user/.$instance config set folder.uploads "$opt"
|
||||
done
|
||||
break
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user