diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-07-12 16:29:35 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-07-12 16:30:30 -0400 |
commit | bbaf865f41dcd411ce3b743fd05019dc5452a6e1 (patch) | |
tree | f350ddacf8d2bc82fdd7a90dc35a42e401587201 | |
parent | 6e662d8f1f691b2a89fcc96d79e702135d5b8733 (diff) | |
download | pfsense-bbaf865f41dcd411ce3b743fd05019dc5452a6e1.zip pfsense-bbaf865f41dcd411ce3b743fd05019dc5452a6e1.tar.gz |
Call conf_mount_rw() early
-rw-r--r-- | etc/phpshellsessions/gitsync | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/phpshellsessions/gitsync b/etc/phpshellsessions/gitsync index 238f5d0..e39a1be 100644 --- a/etc/phpshellsessions/gitsync +++ b/etc/phpshellsessions/gitsync @@ -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"); |