summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-03-17 03:59:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-03-17 03:59:00 +0000
commit5d14cbffd697ef71e357638daad1c504fab49cbf (patch)
tree56f7bdd83aaaa1838dafd4278ce040d61ad6ce8f /etc/rc.firmware
parent41235422dce4d575bdf4e6498e7eca69ab234ff8 (diff)
downloadpfsense-5d14cbffd697ef71e357638daad1c504fab49cbf.zip
pfsense-5d14cbffd697ef71e357638daad1c504fab49cbf.tar.gz
Remove firmware image once completed
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index d17b55f..18259cf 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -220,6 +220,7 @@ upgrade)
if [ -e /etc/init_bootloader.sh ]; then
sh /etc/init_bootloader.sh
fi
+ rm $NEWIMG
/bin/sync
echo "Done." | logger -p daemon.info -i -t Upgrade
# If /tmp/post_upgrade_command exists after update
OpenPOWER on IntegriCloud