Project

General

Profile

« Previous | Next » 

Revision a5733f63

Added by Renato Botelho almost 10 years ago

Rework pfSense-upgrade script to make it work with nanobsd

View differences:

src/etc/rc
341 341
# Recreate capabilities DB
342 342
/usr/bin/cap_mkdb /etc/login.conf
343 343

  
344
# Finish update
345
if [ -f /cf/conf/upgrade_in_progress ]; then
346
	echo "Running second stage of upgrade process..."
347
	/usr/local/sbin/${product}-upgrade -y
348
fi
344
# Second upgrade stage
345
/usr/local/sbin/${product}-upgrade -y -b 2
349 346

  
350 347
# Run the php.ini setup file and populate
351 348
# /usr/local/etc/php.ini and /usr/local/lib/php.ini
......
421 418
	/usr/local/bin/minicron 60 /var/run/gmirror_status_check.pid /usr/local/sbin/gmirror_status_check.php
422 419
fi
423 420

  
421
/usr/local/sbin/${product}-upgrade -y -b 3
422

  
424 423
# Log product version to syslog
425 424
BUILDTIME=`cat /etc/version.buildtime`
426 425
ARCH=`uname -m`

Also available in: Unified diff