sync uploads
This commit is contained in:
@@ -1110,6 +1110,8 @@ sync_users() {
|
||||
|
||||
share_uploads() {
|
||||
get_settings
|
||||
echo
|
||||
echo
|
||||
echo "This option will make all your uploads go to a single instance."
|
||||
echo "This will mean all gcode files be available for all your instances."
|
||||
echo "Use this option only if you understand the implications."
|
||||
@@ -1141,6 +1143,7 @@ share_uploads() {
|
||||
sudo -u $user mkdir $ULPATH
|
||||
opt=$ULPATH
|
||||
fi
|
||||
|
||||
else
|
||||
opt=/home/$user/.$opt/uploads
|
||||
fi
|
||||
@@ -1154,7 +1157,7 @@ share_uploads() {
|
||||
done
|
||||
done
|
||||
echo "Instances must be restarted for changes to take effect."
|
||||
|
||||
main_menu
|
||||
}
|
||||
|
||||
back_up() {
|
||||
|
||||
Reference in New Issue
Block a user