Skip to content

Instantly share code, notes, and snippets.

@sreimers
Last active December 17, 2015 22:49
Show Gist options
  • Save sreimers/5684445 to your computer and use it in GitHub Desktop.
Save sreimers/5684445 to your computer and use it in GitHub Desktop.
Cleanup my dev env for imaging
#!/bin/bash
rm -Rf /root/.rpi-firmware
rm -Rf /opt/podlove/.ssh
rm -Rf /opt/podlove/www
rm -Rf /root/.baresip
rm -Rf /opt/podlove/.baresip
rm -Rf /home/pi/.baresip
# Clone current Version
git clone https://github.com/sreimers/podlove-raspberry.git /opt/podlove/www
chown -R podlove:podlove /opt/podlove
apt-get clean
sed -i "s/username.*$/username AICCU_USER/" /etc/aiccu.conf
sed -i "s/password.*$/password AICCU_PASSWORD/" /etc/aiccu.conf
sed -i "s/tunnel_id.*$/tunnel_id AICCU_TUNNELID/" /etc/aiccu.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment