Projet

Général

Profil

« Précédent | Suivant » 

Révision bc388533

Ajouté par Renato Botelho il y a presque 10 ans

Avoid keeping old files from previous sessions on /tmp/configbak

Voir les différences:

etc/rc.firmware
428 428
	/etc/rc.notify_message -e -g -m "Firmware upgrade in progress..."
429 429
	
430 430
	# backup config
431
	[ -d /tmp/configbak ] && rm -rf /tmp/configbak
431 432
	/bin/mkdir -p /tmp/configbak
432 433
	cp -Rp /conf/* /tmp/configbak 2>/dev/null
433 434

  

Formats disponibles : Unified diff