Project

General

Profile

« Previous | Next » 

Revision 453a59ca

Added by Scott Ullrich about 16 years ago

rename root0 and root1 pfsense0 and pfsense1

View differences:

etc/rc.firmware
185 185
	echo "Installing $IMG." | logger -p daemon.info -i -t Upgrade
186 186

  
187 187
	BOOT_DEVICE=`/sbin/mount | /usr/bin/grep root | /usr/bin/cut -d'/' -f4 | /usr/bin/cut -d' ' -f1`
188
	if [ "$BOOT_DEVICE" = "root0" ]; then
189
		TOFLASH="root1"
188
	if [ "$BOOT_DEVICE" = "pfsense0" ]; then
189
		TOFLASH="pfsense1"
190 190
	else
191
		TOFLASH="root0"
191
		TOFLASH="pfsense0"
192 192
	fi
193 193

  
194 194
	# Remove TOFLASH and get ready for new flash image

Also available in: Unified diff