diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.initial | 3 | ||||
-rwxr-xr-x | etc/rc.restart_webgui | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial index cd0c256..625d79d 100755 --- a/etc/rc.initial +++ b/etc/rc.initial @@ -94,6 +94,9 @@ case ${opmode} in 10) /usr/sbin/tcpdump -n -e -ttt -i pflog0 ;; +11) + /etc/rc.restart_webgui + ;; 98) /etc/rc.initial.store_config_to_removable_device ;; diff --git a/etc/rc.restart_webgui b/etc/rc.restart_webgui new file mode 100755 index 0000000..fc57f94 --- /dev/null +++ b/etc/rc.restart_webgui @@ -0,0 +1,12 @@ +#!/usr/local/bin/php -f + +<?php + +require("config.inc"); +require("functions.inc"); + +mwexec("killall -9 lighttpd"); + +system_webgui_start(); + +?>
\ No newline at end of file |