| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															225
														 | 
														
															     echo '        NEW_USER_PASSWORD=$(printf `cat ~/login.txt`)' >> $rootdir/root/.bashrc 
														 | 
														
															225
														 | 
														
															     echo '        NEW_USER_PASSWORD=$(printf `cat ~/login.txt`)' >> $rootdir/root/.bashrc 
														 | 
													
												
													
														| 
															226
														 | 
														
															     echo '    else' >> $rootdir/root/.bashrc 
														 | 
														
															226
														 | 
														
															     echo '    else' >> $rootdir/root/.bashrc 
														 | 
													
												
													
														| 
															227
														 | 
														
															     echo '        ENTROPY=$(cat /proc/sys/kernel/random/entropy_avail)' >> $rootdir/root/.bashrc 
														 | 
														
															227
														 | 
														
															     echo '        ENTROPY=$(cat /proc/sys/kernel/random/entropy_avail)' >> $rootdir/root/.bashrc 
														 | 
													
												
													
														| 
															228
														 | 
														
															-    echo '        if [ $ENTROPY -lt 500]; then' >> $rootdir/root/.bashrc 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															228
														 | 
														
															+    echo '        if [ $ENTROPY -lt 500 ]; then' >> $rootdir/root/.bashrc 
														 | 
													
												
													
														| 
															229
														 | 
														
															     echo '            echo "WARNING: The entropy available on this system is too low to generate a password"' >> $rootdir/root/.bashrc 
														 | 
														
															229
														 | 
														
															     echo '            echo "WARNING: The entropy available on this system is too low to generate a password"' >> $rootdir/root/.bashrc 
														 | 
													
												
													
														| 
															230
														 | 
														
															     echo '            exit 5763' >> $rootdir/root/.bashrc 
														 | 
														
															230
														 | 
														
															     echo '            exit 5763' >> $rootdir/root/.bashrc 
														 | 
													
												
													
														| 
															231
														 | 
														
															     echo '        fi' >> $rootdir/root/.bashrc 
														 | 
														
															231
														 | 
														
															     echo '        fi' >> $rootdir/root/.bashrc 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															236
														 | 
														
															 	 
														 | 
														
															236
														 | 
														
															 	 
														 | 
													
												
													
														| 
															237
														 | 
														
															     cat >> $rootdir/root/.bashrc <<EOF 
														 | 
														
															237
														 | 
														
															     cat >> $rootdir/root/.bashrc <<EOF 
														 | 
													
												
													
														| 
															238
														 | 
														
															     freedombone menuconfig 
														 | 
														
															238
														 | 
														
															     freedombone menuconfig 
														 | 
													
												
													
														| 
															239
														 | 
														
															-    if [ "$?" = "0" ]; then 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															240
														 | 
														
															 EOF 
														 | 
														
															239
														 | 
														
															 EOF 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															240
														 | 
														
															+    echo '    if [ "$?" = "0" ]; then' >> $rootdir/root/.bashrc 
														 | 
													
												
													
														| 
															241
														 | 
														
															     # change the password for the admin user 
														 | 
														
															241
														 | 
														
															     # change the password for the admin user 
														 | 
													
												
													
														| 
															242
														 | 
														
															     echo -n "        echo \"${MY_USERNAME}:" >> $rootdir/root/.bashrc 
														 | 
														
															242
														 | 
														
															     echo -n "        echo \"${MY_USERNAME}:" >> $rootdir/root/.bashrc 
														 | 
													
												
													
														| 
															243
														 | 
														
															-    echo -n '$(printf `cat ~/login.txt`)"|chpasswd' >> $rootdir/root/.bashrc 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															243
														 | 
														
															+    echo '$(printf `cat ~/login.txt`)"|chpasswd' >> $rootdir/root/.bashrc 
														 | 
													
												
													
														| 
															244
														 | 
														
															  
														 | 
														
															244
														 | 
														
															  
														 | 
													
												
													
														| 
															245
														 | 
														
															     # Remove the initial setup files 
														 | 
														
															245
														 | 
														
															     # Remove the initial setup files 
														 | 
													
												
													
														| 
															246
														 | 
														
															     echo "        rm /root/.initial_setup" >> $rootdir/root/.bashrc 
														 | 
														
															246
														 | 
														
															     echo "        rm /root/.initial_setup" >> $rootdir/root/.bashrc 
														 |