diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-06-03 20:22:32 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-06-03 20:22:32 +0000 |
commit | ac518968afc7e7a1e581b893ffe8ea0c410997be (patch) | |
tree | ca385dfb6e894cc6f239afee33e32838527fb909 /packages/dashboard | |
parent | 471d63e6c58e27cc6d8e149cbc00591165b8fdf8 (diff) | |
download | pfsense-packages-ac518968afc7e7a1e581b893ffe8ea0c410997be.tar.gz pfsense-packages-ac518968afc7e7a1e581b893ffe8ea0c410997be.tar.bz2 pfsense-packages-ac518968afc7e7a1e581b893ffe8ea0c410997be.zip |
Make index.php not writable until package deinstallation.
Diffstat (limited to 'packages/dashboard')
-rw-r--r-- | packages/dashboard/dashboard.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dashboard/dashboard.inc b/packages/dashboard/dashboard.inc index 85af9936..7c8feb75 100644 --- a/packages/dashboard/dashboard.inc +++ b/packages/dashboard/dashboard.inc @@ -7,9 +7,9 @@ function dashboard_install() { mwexec("cp /usr/local/www/index.php /usr/local/www/index.php.before_dashboard"); /* backup the pre-dashboard fbegin.inc file */ mwexec("cp /usr/local/www/fbegin.inc /usr/local/www/fbegin.inc.before_dashboard"); - mwexec("chmod a-w /usr/local/www/index.php"); } mwexec("tar xzvpf /usr/local/pkg/widgets.tgz -C /usr/local/www/"); + mwexec("chmod a-w /usr/local/www/index.php"); } function dashboard_deinstall() { |