diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-20 01:21:11 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-20 01:21:11 +0000 |
commit | c336636034f199eb918fbe7119f93951fdd8896e (patch) | |
tree | 4a8e6092e03f87df604c30def63ef75242c39c5a /usr/local/pkg/olsrd.xml | |
parent | 8ef6af9efce2041a9fc9a1c4dc852d634cc421ec (diff) | |
download | pfsense-c336636034f199eb918fbe7119f93951fdd8896e.zip pfsense-c336636034f199eb918fbe7119f93951fdd8896e.tar.gz |
Mount for rw before saving olsr key
Diffstat (limited to 'usr/local/pkg/olsrd.xml')
-rw-r--r-- | usr/local/pkg/olsrd.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/pkg/olsrd.xml b/usr/local/pkg/olsrd.xml index bd08553..3a4abeb 100644 --- a/usr/local/pkg/olsrd.xml +++ b/usr/local/pkg/olsrd.xml @@ -100,6 +100,7 @@ <custom_delete_php_command> </custom_delete_php_command> <custom_php_resync_config_command> + conf_mount_rw(); $fd = fopen("/usr/local/etc/olsrkey.txt","w"); fwrite($fd, $_POST['securekey']); fclose($fd); @@ -109,6 +110,7 @@ setup_wireless_olsr($if); } } + conf_mount_ro(); </custom_php_resync_config_command> <custom_php_install_command> </custom_php_install_command> |