summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-03 02:06:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-03 02:06:57 +0000
commit8f42518e0f7c4029499021befbd429fd9e9fa36e (patch)
treec533fc1799c51a029680051c14f7362f94611dcb /usr/local/www
parent91e0be49c1adccc3705b6afffcddbd7e94dbc1c0 (diff)
downloadpfsense-8f42518e0f7c4029499021befbd429fd9e9fa36e.zip
pfsense-8f42518e0f7c4029499021befbd429fd9e9fa36e.tar.gz
Use /tmp/reload_interfaces
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/interfaces_assign.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 2c95456..0231926 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -115,6 +115,8 @@ if ($_POST) {
write_config();
+ touch("/tmp/reload_interfaces");
+
}
}
@@ -270,9 +272,3 @@ include("head.inc");
</body>
</html>
-<?php
-
-if($_POST) {
- /* reload all interfaces configuration */
- reload_interfaces();
-} \ No newline at end of file
OpenPOWER on IntegriCloud