Skip to content

Commit

Permalink
add ssh welcome script
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Jan 30, 2024
1 parent c306719 commit ade7db8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
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_ssh_qos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ set_ssh_qos() {
echo -e "IPQoS 0x00 0x00\n" | sudo tee -a /etc/ssh/ssh_config
fi
}

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

echo "#########################################################
# #
# ___ __ ______ _ __________ ____ __ _ _ #
# / _ \/ // / __ \/ |/ / _/ __/( _ \ / \( \/ ) #
# / ___/ _ / /_/ / // // _/ ) _ (( O )) ( #
# /_/ /_//_/\____/_/|_/___/____/ (____/ \__/(_/\_) #
# future3 #
# #
#########################################################
If you want to manually run a python script from the
project activate the venv before. See
https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/
future3/main/documentation/developers/pyhton.md
---------------------------------------------------------
"

0 comments on commit ade7db8

Please sign in to comment.