10 lines
145 B
Bash
Executable file
10 lines
145 B
Bash
Executable file
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
start() {
|
|
[ -d /www ] && httpd -p 80 -h /www -r OpenWrt
|
|
}
|
|
|
|
stop() {
|
|
killall httpd
|
|
}
|