mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 18:00:22 +01:00
17 lines
516 B
Bash
17 lines
516 B
Bash
#!/bin/bash
|
|
|
|
# Just run this script once after a fresh sd card build
|
|
# to prepare the image for release as a downloadable sd card image
|
|
|
|
# SSH Pubkeys (make unique for every sd card image install)
|
|
echo "deleting SSH Pub keys ..."
|
|
echo "they will get recreated on fresh bootup, by _bootstrap.sh service"
|
|
sudo rm /etc/ssh/ssh_host_*
|
|
echo "OK"
|
|
|
|
echo " "
|
|
echo "Will shutdown now."
|
|
echo "Wait until Raspberry LEDs show no activity anymore."
|
|
echo "Then remove SD card and make an release image from it."
|
|
sudo shutdown now
|