Last active
September 19, 2016 03:06
-
-
Save raspberrypisig/65a49f82b882b09e0866646b4a24c643 to your computer and use it in GitHub Desktop.
This file contains 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 | |
cd /home/pi | |
apt-get update | |
echo "deb http://packages.openmediavault.org/public erasmus main" | tee -a /etc/apt/sources.list.d/openmediavault.list | |
wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add - | |
apt-get update | |
debconf-set-selections <<< "postfix postfix/mailname string localhost" | |
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'" | |
apt-get install -y --force-yes openmediavault-keyring postfix | |
apt-get update | |
debconf-set-selections <<< "mdadm mdadm/initrdstart string all" | |
debconf-set-selections <<< "proftpd-basic shared/proftpd/inetd_or_standalone select standalone" | |
debconf-set-selections <<< "openmediavault openmediavault/run-initsystem select ok" | |
DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install openmediavault | |
apt-get clean | |
omv-initsystem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment