Revision cbd61550
Added by Scott Ullrich over 20 years ago
etc/rc.firmware_auto | ||
---|---|---|
35 | 35 |
|
36 | 36 |
if [ "$PMD" = "$MD" ]; then |
37 | 37 |
echo "MD5's match." | logger -p daemon.info -i -t AutoUpgrade |
38 |
/etc/rc.firmware pfSenseupgrade /tmp/latest.tgz |
|
38 |
if [ -e "/tmp/custom.tgz" ]; then |
|
39 |
/etc/rc.firmware pfSenseupgrade /tmp/latest.tgz /tmp/custom.tgz |
|
40 |
else |
|
41 |
/etc/rc.firmware pfSenseupgrade /tmp/latest.tgz |
|
42 |
fi |
|
39 | 43 |
exit 0 |
40 | 44 |
fi |
41 | 45 |
|
Also available in: Unified diff
If /tmp/custom.tgz exists, allow it to overwrite the upgrade. This can be useful if you do not wish to upgrade a certain part of pfSense.