Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ case "$1" in
exit 0
else
echo "Firmware version mismatch or not installed, flashing firmware..."
PSPLASH_FIFO_DIR="/var/psplash" psplash-write "MSG Flashing bed. DO NOT POWER OFF"
if update; then
PSPLASH_FIFO_DIR="/var/psplash" psplash-write "MSG "
exit 0
else
echo "Attempting bootloader upgrade..."
Expand All @@ -61,6 +63,7 @@ case "$1" in
echo "Cannot update bootloader."
fi
fi
PSPLASH_FIFO_DIR="/var/psplash" psplash-write "MSG "
fi
;;
stop)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ case "$1" in
exit 0
else
echo "Firmware version mismatch or not installed, flashing firmware..."
PSPLASH_FIFO_DIR="/var/psplash" psplash-write "MSG Flashing toolhead. DO NOT POWER OFF"
if update; then
PSPLASH_FIFO_DIR="/var/psplash" psplash-write "MSG "
exit 0
else
echo "Attempting bootloader upgrade..."
Expand All @@ -59,6 +61,7 @@ case "$1" in
echo "Cannot update bootloader."
fi
fi
PSPLASH_FIFO_DIR="/var/psplash" psplash-write "MSG "
fi
;;
stop)
Expand Down
Loading