|  | @@ -225,7 +225,7 @@ EOF
 | 
	
		
			
			| 225 | 225 |      echo '        NEW_USER_PASSWORD=$(printf `cat ~/login.txt`)' >> $rootdir/root/.bashrc
 | 
	
		
			
			| 226 | 226 |      echo '    else' >> $rootdir/root/.bashrc
 | 
	
		
			
			| 227 | 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 | 229 |      echo '            echo "WARNING: The entropy available on this system is too low to generate a password"' >> $rootdir/root/.bashrc
 | 
	
		
			
			| 230 | 230 |      echo '            exit 5763' >> $rootdir/root/.bashrc
 | 
	
		
			
			| 231 | 231 |      echo '        fi' >> $rootdir/root/.bashrc
 | 
	
	
		
			
			|  | @@ -236,11 +236,11 @@ EOF
 | 
	
		
			
			| 236 | 236 |  	
 | 
	
		
			
			| 237 | 237 |      cat >> $rootdir/root/.bashrc <<EOF
 | 
	
		
			
			| 238 | 238 |      freedombone menuconfig
 | 
	
		
			
			| 239 |  | -    if [ "$?" = "0" ]; then
 | 
	
		
			
			| 240 | 239 |  EOF
 | 
	
		
			
			|  | 240 | +    echo '    if [ "$?" = "0" ]; then' >> $rootdir/root/.bashrc
 | 
	
		
			
			| 241 | 241 |      # change the password for the admin user
 | 
	
		
			
			| 242 | 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 | 245 |      # Remove the initial setup files
 | 
	
		
			
			| 246 | 246 |      echo "        rm /root/.initial_setup" >> $rootdir/root/.bashrc
 |