summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-04 23:08:51 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-04 23:08:51 -0400
commitf22c94e0900b3a6245565040da92e57e58907042 (patch)
tree175cf7f8d1e1f34debd03cf62823460b5be52bd2 /etc/rc.firmware
parente7b0b0f7fcaffa1ed4dbedb6112d9580a77b077c (diff)
downloadpfsense-f22c94e0900b3a6245565040da92e57e58907042.zip
pfsense-f22c94e0900b3a6245565040da92e57e58907042.tar.gz
Reset log file on each invocation
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index de13e5d..832a3cf 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -9,6 +9,10 @@
# mount /cf
/etc/rc.conf_mount_rw
+# Reset file(s)
+echo "" >/conf/upgrade_log.txt
+echo "" >/conf/firmware_update_misc.log
+
exec 3>&2 2>>/conf/firmware_update_misc.log
export ACTION=$1
OpenPOWER on IntegriCloud