summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-30 00:19:56 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-30 00:19:56 -0400
commit3e0621caec4765fcb9311681b6c77a9117e9e148 (patch)
treedd802534475be43207c47a419b4ad33c95abb68f /etc/rc.firmware
parent762cb660d6d0ac24a476f42dc86729f408932d59 (diff)
downloadpfsense-3e0621caec4765fcb9311681b6c77a9117e9e148.zip
pfsense-3e0621caec4765fcb9311681b6c77a9117e9e148.tar.gz
Mount RW when script launches
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware9
1 files changed, 3 insertions, 6 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index c4f02e6..7d31383 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -6,6 +6,9 @@
# Copyright (C) 2003 Manuel Kasper <mk@neon1.net>.
# All rights reserved.
+# mount /cf
+/etc/rc.conf_mount_rw
+
exec 3>&2 2>>/conf/firmware_update_misc.log
export ACTION=$1
@@ -122,9 +125,6 @@ auto)
;;
pfSenseNanoBSDupgrade)
- # mount /cf
- /etc/rc.conf_mount_rw
-
# Sanity check - bail early if there's no firmware file!
if [ ! -r $IMG ]; then
echo "2nd parameter has not been passed or file does not exist. Exiting." >> /cf/upgrade_log.txt 2>&1
@@ -296,9 +296,6 @@ pfSenseNanoBSDupgrade)
;;
pfSenseupgrade)
- # mount /cf
- /etc/rc.conf_mount_rw
-
# Sanity check - bail early if there's no firmware file!
if [ ! -r $IMG ]; then
echo "2nd parameter has not been passed or file does not exist. Exiting." >> /cf/upgrade_log.txt 2>&1
OpenPOWER on IntegriCloud