mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-14 06:21:32 +02:00
b2f4342440
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7164 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
245 B
Bash
Executable File
15 lines
245 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
START=50
|
|
|
|
start() {
|
|
include /lib/network
|
|
scan_interfaces
|
|
config_get ifname wan hostname
|
|
[ -d /www ] && httpd -p 80 -h /www -r ${hostname:-OpenWrt}
|
|
}
|
|
|
|
stop() {
|
|
killall httpd
|
|
}
|