Revision 71afb6a5
Added by Scott Ullrich almost 20 years ago
usr/local/sbin/update_file.sh | ||
---|---|---|
17 | 17 |
exit 0 |
18 | 18 |
fi |
19 | 19 |
|
20 |
/etc/rc.conf_mount_rw |
|
21 |
|
|
20 | 22 |
if [ "$1" = "-all" ];then |
21 | 23 |
echo "This will update all .php .js and .inc pages on your pfsense box!" |
22 | 24 |
FMATCHES=`find /etc/inc/ /usr/local/www /usr/local/captiveportal -name "*.php" -or -name "*.inc" -or -name "*.js"` |
... | ... | |
27 | 29 |
FMATCHES=$1 |
28 | 30 |
fi |
29 | 31 |
|
30 |
/etc/rc.conf_mount_rw |
|
31 |
|
|
32 | 32 |
for file in $FMATCHES ;do |
33 | 33 |
|
34 | 34 |
if [ ! -z $2 ];then |
Also available in: Unified diff
Mount image r/w earlier in the process