From fd4c4ad6ecf549b77904bba64a2c0537e00ebe3b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 1 Apr 2008 14:50:40 +0000 Subject: thttpd: remove unused files Patch by Simon Pasch --- package/thttpd/S90thttpd | 43 ------------------------------------------- package/thttpd/thttpd.conf | 7 ------- 2 files changed, 50 deletions(-) delete mode 100755 package/thttpd/S90thttpd delete mode 100644 package/thttpd/thttpd.conf (limited to 'package/thttpd') diff --git a/package/thttpd/S90thttpd b/package/thttpd/S90thttpd deleted file mode 100755 index 76949bd33..000000000 --- a/package/thttpd/S90thttpd +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -DAEMON=/usr/sbin/thttpd -test -f $DAEMON || exit 0 - -start() { - echo -n "Starting thttpd: " - $DAEMON -C /etc/thttpd.conf - if [ $? != 0 ]; then - echo "FAILED" - exit 1 - else - echo "done" - fi -} - -stop() { - echo -n "Stopping ProFTPD: " - kill -9 `cat /var/run/thttpd.pid` - echo "done" -} - -case "$1" in - start) - start - ;; - - stop) - stop - ;; - - restart) - stop - start - ;; - - *) - echo "Usage: /etc/init.d/S90thttpd {start|stop|restart}" - exit 1 - ;; -esac - -exit 0 diff --git a/package/thttpd/thttpd.conf b/package/thttpd/thttpd.conf deleted file mode 100644 index b4c801ba0..000000000 --- a/package/thttpd/thttpd.conf +++ /dev/null @@ -1,7 +0,0 @@ -chroot -dir=/var/www -pidfile=/var/run/thttpd.pid -logfile=/var/log/thttpd -host=dtu-7100 -user=nobody -cgipat=**.cgi -- cgit v1.2.3