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