init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[openwrt.git] / package / base-files / default / etc / init.d / httpd
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 start() {
5 [ -d /www ] && httpd -p 80 -h /www -r OpenWrt
6 }
7
8 stop() {
9 killall httpd
10 }
This page took 0.062535 seconds and 5 git commands to generate.