Project

General

Profile

« Previous | Next » 

Revision c3366360

Added by Scott Ullrich over 19 years ago

Mount for rw before saving olsr key

View differences:

usr/local/pkg/olsrd.xml
100 100
	<custom_delete_php_command>
101 101
	</custom_delete_php_command>
102 102
	<custom_php_resync_config_command>
103
		conf_mount_rw();
103 104
		$fd = fopen("/usr/local/etc/olsrkey.txt","w");
104 105
		fwrite($fd, $_POST['securekey']);
105 106
		fclose($fd);
......
109 110
						setup_wireless_olsr($if);
110 111
				}
111 112
		}
113
		conf_mount_ro();
112 114
	</custom_php_resync_config_command>
113 115
	<custom_php_install_command>
114 116
	</custom_php_install_command>

Also available in: Unified diff