Skip to content

Commit

Permalink
Merge pull request #8 from josegonzalez/move-credentials
Browse files Browse the repository at this point in the history
fix: move credentials to top-level instead of copying them
  • Loading branch information
josegonzalez authored Jan 27, 2025
2 parents 06a6f49 + a085110 commit dfa587a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ wifi_on() {
echo "Generating wpa_supplicant.conf..."

if [ ! -f "$SDCARD_PATH/wifi.txt" ] && [ -f "$progdir/wifi.txt" ]; then
cp "$progdir/wifi.txt" "$SDCARD_PATH/wifi.txt"
mv "$progdir/wifi.txt" "$SDCARD_PATH/wifi.txt"
fi

touch "$SDCARD_PATH/wifi.txt"
Expand Down

0 comments on commit dfa587a

Please sign in to comment.