summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-11-07 23:09:38 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-11-07 23:09:38 +0000
commit9350a6429e6a1dc6d611e698d65695d1aa8b1f94 (patch)
treea5c36d065efcef31e4c0d338ab8a1e44b3d05d2d /tmp
parent7f37e7dcba05e289d584247c8c35c697587658f4 (diff)
downloadpfsense-9350a6429e6a1dc6d611e698d65695d1aa8b1f94.zip
pfsense-9350a6429e6a1dc6d611e698d65695d1aa8b1f94.tar.gz
Remove any previous MD5 sums after upgrade.
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/post_upgrade_command3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
index 9563c65..417b223 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -3,7 +3,6 @@
touch /var/run/config.lock
/etc/rc.conf_mount_rw
-
KERNELTYPE=`cat /boot/kernel/pfsense_kernel.txt`
if [ $KERNELTYPE = "wrap" ]; then
if [ -f /kernels/kernel_wrap.gz ]; then
@@ -28,4 +27,6 @@ fi
# Now turn on or off serial console as needed
php -f /tmp/post_upgrade_command.php
+# Remove any previous MD5 sum files
+rm -f /root/*.md5
OpenPOWER on IntegriCloud