Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
a96ad64c
Commit
a96ad64c
authored
Mar 05, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: when files move it's crucial to restart the web server
parent
559e42e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
rc.initial.firmware_update
src/etc/rc.initial.firmware_update
+5
-1
rc.restart_webgui
src/etc/rc.restart_webgui
+5
-10
No files found.
src/etc/rc.initial.firmware_update
View file @
a96ad64c
...
...
@@ -43,8 +43,12 @@ echo
# upgrade all packages if possible
pkg upgrade
-y
# refresh the php.ini files now rather than later
echo
# restart the GUI after PHP changes have been applied
/usr/local/etc/rc.php_ini_setup
/usr/local/etc/rc.restart_webgui
echo
...
...
src/etc/rc.restart_webgui
View file @
a96ad64c
#!/usr/local/bin/php -f
<?php
require
(
"config.inc"
);
require
(
"functions.inc"
);
require
(
"shaper.inc"
);
require
(
"captiveportal.inc"
);
require
_once
(
"config.inc"
);
require
_once
(
"functions.inc"
);
require
_once
(
"shaper.inc"
);
require
_once
(
"captiveportal.inc"
);
require_once
(
"rrd.inc"
);
echo
"Restarting webConfigurator..."
;
...
...
@@ -18,11 +17,7 @@ while (is_process_running("lighttpd")) {
}
system_webgui_start
();
captiveportal_init_webgui
();
enable_rrd_graphing
();
echo
" done.
\n\n
"
;
?>
echo
"done.
\n
"
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment