summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-18 23:13:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-18 23:13:40 +0000
commit71afb6a593c05e449636b205e7a5e0c57af75fb6 (patch)
tree7873bbc196dbd95c8279297ed209fca19fadec8d /usr/local/sbin
parent602ebee3ed890d6447500ae2f36166b464290e35 (diff)
downloadpfsense-71afb6a593c05e449636b205e7a5e0c57af75fb6.zip
pfsense-71afb6a593c05e449636b205e7a5e0c57af75fb6.tar.gz
Mount image r/w earlier in the process
Diffstat (limited to 'usr/local/sbin')
-rwxr-xr-xusr/local/sbin/update_file.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/sbin/update_file.sh b/usr/local/sbin/update_file.sh
index f766ff4..9c5e271 100755
--- a/usr/local/sbin/update_file.sh
+++ b/usr/local/sbin/update_file.sh
@@ -17,6 +17,8 @@ if [ -z $1 ];then
exit 0
fi
+/etc/rc.conf_mount_rw
+
if [ "$1" = "-all" ];then
echo "This will update all .php .js and .inc pages on your pfsense box!"
FMATCHES=`find /etc/inc/ /usr/local/www /usr/local/captiveportal -name "*.php" -or -name "*.inc" -or -name "*.js"`
@@ -27,8 +29,6 @@ else
FMATCHES=$1
fi
-/etc/rc.conf_mount_rw
-
for file in $FMATCHES ;do
if [ ! -z $2 ];then
OpenPOWER on IntegriCloud