Skip to content

Commit

Permalink
add usb thumb drive support.
Browse files Browse the repository at this point in the history
  • Loading branch information
ballaswag committed May 26, 2024
1 parent a4c0b4c commit 7c16964
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ else
sed -i '/\[include gcode_macro\.cfg\]/a \[include GuppyScreen/*\.cfg\]' $K1_CONFIG_DIR/printer.cfg
fi

## symlink usb
K1_GCODE_DIR=$(dirname "$K1_CONFIG_DIR")/gcodes
ln -sf /tmp/udisk $K1_GCODE_DIR/usb

if [ ! -d "$BACKUP_DIR" ]; then
printf "${green} Backing up original K1 files ${white}\n"
mkdir -p $BACKUP_DIR
Expand Down

0 comments on commit 7c16964

Please sign in to comment.