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