Dependencies

This commit is contained in:
Bob Mottram 2015-11-25 09:51:35 +00:00
parent b88f433a8e
commit c539cb2cf4
1 changed files with 6 additions and 3 deletions

View File

@ -246,12 +246,12 @@ EOF
echo ' echo "IMPORTANT: Please take a moment to enter the above password into a password manager or write it down somewhere."' >> $rootdir/root/.bashrc
echo ' echo ""' >> $rootdir/root/.bashrc
echo ' read -n1 -r -p "Press any key to continue..." key' >> $rootdir/root/.bashrc
# change the password for the admin user
echo -n " echo \"${MY_USERNAME}:" >> $rootdir/root/.bashrc
echo '$(printf `cat ~/login.txt`)"|chpasswd' >> $rootdir/root/.bashrc
echo ' freedombone menuconfig' >> $rootdir/root/.bashrc
echo ' freedombone menuconfig' >> $rootdir/root/.bashrc
echo ' if [ "$?" = "0" ]; then' >> $rootdir/root/.bashrc
echo ' if [ -f ~/freedombone-completed.txt ]; then' >> $rootdir/root/.bashrc
# Remove the initial setup files
@ -335,7 +335,10 @@ if [ -n "$CUSTOM_SETUP" ]; then
fi
chroot "$rootdir" apt-get install -y sudo git dialog toilet build-essential openssh-server
chroot "$rootdir" apt-get install -y avahi-daemon avahi-utils avahi-discover
chroot "$rootdir" apt-get install -y avahi-daemon avahi-utils avahi-discover avahi-autoipd
chroot "$rootdir" apt-get install -y iptables dnsutils net-tools network-manager
chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-name
chroot "$rootdir" /bin/bash -x <<EOF
git clone https://github.com/bashrc/freedombone /root/freedombone
cd /root/freedombone