Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future3 add login motd with note about venv #2225

Merged
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
2 changes: 1 addition & 1 deletion documentation/developers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Getting started

* [Development Environment](./development-environment.md)
* [Python Development Notes](pyhton.md)
* [Python Development Notes](python.md)

## Reference

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions installation/routines/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ install() {
setup_rfid_reader
optimize_boot_time
setup_autohotspot
setup_login_message
cleanup
}
4 changes: 4 additions & 0 deletions installation/routines/set_raspi_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ _run_set_raspi_config() {
set_raspi_config() {
run_with_log_frame _run_set_raspi_config "Set default raspi-config"
}

setup_login_message() {
sudo cp -f "${INSTALLATION_PATH}/resources/system/99-rpi-jukebox-rfid-welcome" "/etc/update-motd.d/99-rpi-jukebox-rfid-welcome"
}
16 changes: 16 additions & 0 deletions resources/system/99-rpi-jukebox-rfid-welcome
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

echo "
#########################################################
___ __ ______ _ __________ ____ __ _ _
/ _ \/ // / __ \/ |/ / _/ __/( _ \ / \( \/ )
/ ___/ _ / /_/ / // // _/ ) _ (( O )) (
/_/ /_//_/\____/_/|_/___/____/ (____/ \__/(_/\_)
s-martin marked this conversation as resolved.
Show resolved Hide resolved
future3

If you want to run a python script from the project
activate the venv before with `source .venv/bin/activate`
See also https://github.com/MiczFlor/RPi-Jukebox-RFID/
blob/future3/main/documentation/developers/python.md

#########################################################"
Loading