summaryrefslogtreecommitdiffstats
path: root/tmp/post_upgrade_command
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-11-07 23:09:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-11-07 23:09:00 +0000
commit24c4023c00a83c1c6fc83b0bc5e7d20a15eca967 (patch)
tree4188805fe56e2b4ffaf7be9cb4a659b5611ee9db /tmp/post_upgrade_command
parent2cd5ce143a77911a300318134ba3695f504da919 (diff)
downloadpfsense-24c4023c00a83c1c6fc83b0bc5e7d20a15eca967.zip
pfsense-24c4023c00a83c1c6fc83b0bc5e7d20a15eca967.tar.gz
Remove any previous MD5 sums after upgrade.
From Seth:
Diffstat (limited to 'tmp/post_upgrade_command')
-rwxr-xr-xtmp/post_upgrade_command4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
index 89ac36d..9170821 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -3,8 +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
@@ -29,3 +27,5 @@ 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