Project

General

Profile

« Previous | Next » 

Revision 00aa34f1

Added by Renato Botelho almost 11 years ago

In some cases, new /bin/sh binary doesn't work properly before reboot during a upgrade, and because of that /etc/rc.reboot is not executed and system doesn't reboot. Source /etc/rc.reboot instead of open a new sh session to avoid it happening again in future versions (ticket #3749)

View differences:

etc/rc.firmware
379 379

  
380 380
	rm -f /var/run/firmwarelock.dirty
381 381
	rm -f /var/run/firmware.lock
382
	sh /etc/rc.reboot
382
	. /etc/rc.reboot
383 383

  
384 384
	;;
385 385
pfSenseupgrade)
......
509 509
	if [ -f /tmp/no_upgrade_reboot_required ]; then
510 510
		rm /tmp/no_upgrade_reboot_required
511 511
	else
512
		sh /etc/rc.reboot
512
		. /etc/rc.reboot
513 513
	fi
514 514

  
515 515
	;;

Also available in: Unified diff