Revision 4800435d

View differences:

util/install.sh
310 310

  
311 311
	# Remove sensistive files
312 312
	history -c  # note this won't work if you have multiple bash sessions
313
	rm ~/.bash_history  # need to clear in memory and remove on disk
313
	rm -f ~/.bash_history  # need to clear in memory and remove on disk
314 314
	rm -f ~/.ssh/id_rsa* ~/.ssh/known_hosts
315
	sudo rm ~/.ssh/authorized_keys2
315
	sudo rm -f ~/.ssh/authorized_keys2
316 316

  
317 317
	# Remove Mininet files
318 318
	#sudo rm -f /lib/modules/python2.5/site-packages/mininet*
319 319
	#sudo rm -f /usr/bin/mnexec
320 320

  
321 321
	# Clear optional dev script for SSH keychain load on boot
322
	rm ~/.bash_profile
322
	rm -f ~/.bash_profile
323 323

  
324 324
	# Clear git changes
325 325
	git config --global user.name "None"
326 326
	git config --global user.email "None"
327 327

  
328
	#sudo rm -rf ~/mininet
328
	# Remove mininet install script
329
	rm -f install-mininet.sh
329 330
}
330 331

  
331 332
function usage {

Also available in: Unified diff