Skip to content
Snippets Groups Projects
Commit 0b1e4d02 authored by Florian Fainelli's avatar Florian Fainelli
Browse files

Change httpd realm to match the hostname (#932)

SVN-Revision: 5464
parent b4d550ad
No related branches found
No related tags found
Loading
......@@ -2,7 +2,10 @@
# Copyright (C) 2006 OpenWrt.org
start() {
[ -d /www ] && httpd -p 80 -h /www -r OpenWrt
include /lib/network
scan_interfaces
config_get ifname wan hostname
[ -d /www ] && httpd -p 80 -h /www -r ${hostname:-OpenWrt}
}
stop() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment