Project

General

Profile

« Previous | Next » 

Revision ba8e0870

Added by Erik Fonnesbeck over 14 years ago

Copy /boot/loader.conf.local to the newly imaged slice. Ticket #892

View differences:

etc/rc.firmware
287 287
	mkdir /tmp/$GLABEL_SLICE
288 288
	mount /dev/ufs/$GLABEL_SLICE /tmp/$GLABEL_SLICE
289 289

  
290
	# If /boot/loader.conf.local exists
291
	# copy to the other slice.
292
	if [ -f /boot/loader.conf.local ]; then
293
		cp /boot/loader.conf.local /tmp/$GLABEL_SLICE/boot/loader.conf.local
294
	fi
295

  
290 296
	# If /tmp/$GLABEL_SLICE/tmp/post_upgrade_command exists 
291 297
	# after update then execute the command.
292 298
	if [ -f /tmp/$GLABEL_SLICE/tmp/post_upgrade_command ]; then

Also available in: Unified diff