Fix non-interactive script bug on upgrade.
Complete path to rm
Ensure we are mount rw
Oops, use /boot/kernel/
Move pfsense_kernel.txt to /tmp and remove /boot/kernel/* contents so weare guarantee'd a fresh kernel directory (note freebsd kernel install movesthe old kernel directory to kernel.old so this is very similar.
Remove obsoleted files after upgrade
Only signal a package reinstall on full installations.
Record prior version
Adding pre upgrade hook
Signal a package reinstall after upgrade
Do not assume that we ship uniprocessor kernel on LiveCD any longer.
Untar the complete kernel to /boot/ instead of just the kernel file itself
Nuke /usr/local/sbin/php if it exists on upgrade
Move ttys_wrap into place last.
Check value of /etc/platform when installing the correct ttys file.
Reported-by: Vivek Khera
Nuke cvs_sync.sh on upgrade now that it resides in pfSsh.php
Remove any previous MD5 sums after upgrade.
From Seth:
If index.html, fred.png or dfuife.cgi is found remove them on upgrade.
Only zap /kernels directory if it exists
Reinstall correct kernel after upgrade.
Upgrade RELENG_1 as well for embedded.