diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-18 23:13:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-18 23:13:40 +0000 |
commit | 71afb6a593c05e449636b205e7a5e0c57af75fb6 (patch) | |
tree | 7873bbc196dbd95c8279297ed209fca19fadec8d /usr/local/sbin | |
parent | 602ebee3ed890d6447500ae2f36166b464290e35 (diff) | |
download | pfsense-71afb6a593c05e449636b205e7a5e0c57af75fb6.zip pfsense-71afb6a593c05e449636b205e7a5e0c57af75fb6.tar.gz |
Mount image r/w earlier in the process
Diffstat (limited to 'usr/local/sbin')
-rwxr-xr-x | usr/local/sbin/update_file.sh | 4 |
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 |