diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 5b129db1..3e563aab 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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 <