summaryrefslogtreecommitdiffstats
path: root/usr/local/www/restart_httpd.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-09-14 21:49:40 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-09-14 21:49:40 -0400
commit1d333258dc840cfdfa91d4d5566a9189e0ead9fe (patch)
tree68da71aa2427e130ff8f7d4556c07314daa86afc /usr/local/www/restart_httpd.php
parent7ac5a4cb18367693e0a4c576cbcd907ee7d5ad67 (diff)
downloadpfsense-1d333258dc840cfdfa91d4d5566a9189e0ead9fe.zip
pfsense-1d333258dc840cfdfa91d4d5566a9189e0ead9fe.tar.gz
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on
Diffstat (limited to 'usr/local/www/restart_httpd.php')
-rwxr-xr-xusr/local/www/restart_httpd.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/restart_httpd.php b/usr/local/www/restart_httpd.php
index 27227e4..87fe5a2 100755
--- a/usr/local/www/restart_httpd.php
+++ b/usr/local/www/restart_httpd.php
@@ -25,6 +25,10 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ pfSense_BUILDER_BINARIES: /bin/chmod
+ pfSense_MODULE: pkgs
+*/
##|+PRIV
##|*IDENT=page-diagnostics-restart-httpd
@@ -47,7 +51,7 @@ Mounting file systems read/write...
<?php flush(); sleep(1); conf_mount_rw(); ?>
Done.<br>
Forcing all PHP file permissions to 0755...
-<?php flush(); sleep(1); system('chmod -R 0755 /usr/local/www/*.php'); ?>
+<?php flush(); sleep(1); system('/bin/chmod -R 0755 /usr/local/www/*.php'); ?>
Done.<br>
Mounting file systems read only...
<?php flush(); sleep(1); conf_mount_ro(); ?>
OpenPOWER on IntegriCloud