Skip to content

Commit

Permalink
Report failures to systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbakken committed May 30, 2024
1 parent 9fe7d2d commit 191962c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion userpatches/overlay/klipper/flash-stm32
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ stm32flash -w ${STM32_BINARY} -v -g 0 ${FLASH_DEVICE}
gpioset 1 197=0
gpioget 1 196

systemctl disable flash-stm32
systemctl restart klipper
2 changes: 2 additions & 0 deletions userpatches/overlay/rebuild-first-run/rebuild-first-run
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# This script is run only once, the first time Rebuild boots after being flashed

set -e

log() {
echo "$1" | tee -a /var/log.hdd/rebuild-first-run.log
}
Expand Down

0 comments on commit 191962c

Please sign in to comment.