mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
/ is now readonly. store triggers in /conf
This commit is contained in:
parent
44a41e1417
commit
cb21eb7b96
@ -802,7 +802,7 @@ function reset_factory_defaults() {
|
||||
copy("{$g['conf_default_path']}/config.xml", "{$g['conf_path']}/config.xml");
|
||||
|
||||
/* call the wizard */
|
||||
touch("/trigger_initial_wizard");
|
||||
touch("/conf/trigger_initial_wizard");
|
||||
|
||||
conf_mount_ro();
|
||||
config_unlock();
|
||||
@ -1095,7 +1095,7 @@ EOD;
|
||||
conf_mount_rw();
|
||||
|
||||
/* call the wizard */
|
||||
touch("/trigger_initial_wizard");
|
||||
touch("/conf/trigger_initial_wizard");
|
||||
|
||||
write_config();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user