Last active
          December 17, 2015 22:49 
        
      - 
      
- 
        Save sreimers/5684445 to your computer and use it in GitHub Desktop. 
    Cleanup my dev env for imaging
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/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