Commit 83d63674 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: /tmp/reload_interfaces is never written

parent 8e0a74f5
...@@ -424,15 +424,13 @@ include("head.inc"); ...@@ -424,15 +424,13 @@ include("head.inc");
<div class="row"> <div class="row">
<?php <?php
if (file_exists("/tmp/reload_interfaces")) { if (isset($savemsg)) {
echo "<p>\n";
print_info_box_np(gettext("The interface configuration has been changed.<br />You must apply the changes in order for them to take effect."));
echo "<br /></p>\n";
} elseif($savemsg)
print_info_box($savemsg); print_info_box($savemsg);
}
if (isset($input_errors) && count($input_errors) > 0) if (isset($input_errors) && count($input_errors) > 0) {
print_input_errors($input_errors); print_input_errors($input_errors);
}
?> ?>
<section class="col-xs-12"> <section class="col-xs-12">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment