mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Call conf_mount_rw() early
This commit is contained in:
parent
865af1773d
commit
5f12371145
@ -4,6 +4,8 @@
|
||||
* Part of the pfSense project pfSsh.php subsystem
|
||||
*/
|
||||
|
||||
conf_mount_rw();
|
||||
|
||||
exec("rm -rf /home/pfsense /root/pfsense /pfSenseGITREPO/");
|
||||
|
||||
$GIT_REPO="http://gitweb.pfsense.org/pfsense/mainline.git";
|
||||
@ -12,8 +14,6 @@ $CODIR = "/root/pfsense/";
|
||||
global $argv;
|
||||
global $command_split;
|
||||
|
||||
conf_mount_rw();
|
||||
|
||||
echo "\nRemoving downloaded cvssync data, please wait...";
|
||||
exec("/bin/rm -rf /home/pfsense");
|
||||
exec("mkdir -p /home/pfsense");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user