S50httpd 145 B

12345678910
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006 OpenWrt.org
  3. start() {
  4. [ -d /www ] && httpd -p 80 -h /www -r OpenWrt
  5. }
  6. stop() {
  7. killall httpd
  8. }