Project

General

Profile

« Previous | Next » 

Revision 016a0b25

Added by Renato Botelho over 8 years ago

Remove old hacks used to upgrade from 2.1 to 2.2

View differences:

src/etc/pfSense.obsoletedfiles
218 218
/sbin/mount_oldnfs
219 219
/sbin/mount_procfs
220 220
/sbin/ppp-script
221
/sbin/shutdown.old
221 222
/scripts/dev_bootstrap.sh
222 223
/tmp/post_upgrade_command
223 224
/tmp/post_upgrade_command.php
src/etc/rc.bootup
347 347
/* Set preferred protocol */
348 348
prefer_ipv4_or_ipv6();
349 349

  
350
/* Remove the old shutdown binary if we kept it. */
351
if (file_exists("/sbin/shutdown.old")) {
352
	@unlink("/sbin/shutdown.old");
353
}
354

  
355 350
/* Resync / Reinstall packages if need be */
356 351
if (file_exists('/conf/needs_package_sync')) {
357 352
	mark_subsystem_dirty('packagelock');
src/etc/rc.reboot
44 44
sleep 1
45 45

  
46 46
SHUTDOWN=/sbin/shutdown
47
if [ -f /sbin/shutdown.old ]; then
48
	SHUTDOWN=/sbin/shutdown.old
49
fi
50

  
51 47
$SHUTDOWN -r now

Also available in: Unified diff