diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-02 00:20:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-02 00:20:47 +0000 |
commit | b6f6723586356a5bdf5cd580592cccc5ee988cc5 (patch) | |
tree | 3265e959f431d6b3603a68b152814af989fca4a1 /usr | |
parent | 2e44fb05e1d3902328d676d83f4f4f5f17c648f3 (diff) | |
download | pfsense-b6f6723586356a5bdf5cd580592cccc5ee988cc5.zip pfsense-b6f6723586356a5bdf5cd580592cccc5ee988cc5.tar.gz |
Mount RW for uploads
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_firmware.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php index 33f3593..cd0762f 100755 --- a/usr/local/www/system_firmware.php +++ b/usr/local/www/system_firmware.php @@ -68,9 +68,11 @@ if ($_POST && !file_exists($d_firmwarelock_path)) { if ($mode) { if ($mode == "enable") { exec_rc_script("/etc/rc.firmware enable"); + conf_mount_rw(); touch($d_fwupenabled_path); } else if ($mode == "disable") { exec_rc_script("/etc/rc.firmware disable"); + conf_mount_ro(); if (file_exists($d_fwupenabled_path)) unlink($d_fwupenabled_path); } else if ($mode == "upgrade") { |