* [ptxdist] [PATCH] thttpd: Remove leftovers from package removal
@ 2025-12-11 9:26 Alexander Dahl via ptxdist
0 siblings, 0 replies; only message in thread
From: Alexander Dahl via ptxdist @ 2025-12-11 9:26 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl, Michael Olbrich
Those files were installed to target by old rules/thttpd.make,
but that is long gone.
Fixes: e9c62e81d29f ("thttpd: remove old package")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
projectroot/etc/init.d/thttpd | 52 ---------------------------------
projectroot/var/www/thttpd.html | 17 -----------
2 files changed, 69 deletions(-)
delete mode 100644 projectroot/etc/init.d/thttpd
delete mode 100644 projectroot/var/www/thttpd.html
diff --git a/projectroot/etc/init.d/thttpd b/projectroot/etc/init.d/thttpd
deleted file mode 100644
index 51102b9d0..000000000
--- a/projectroot/etc/init.d/thttpd
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-#
-# thttpd
-#
-
-PREFIX="thttpd: "
-THISFILE=$0
-DOCUMENTROOT="/var/www"
-thttpd="/usr/sbin/thttpd"
-PIDFILE="/var/run/thttpd.pid"
-LOGFILE="/var/log/thttpd.log"
-
-usage() {
- echo "${PREFIX}usage: $THISFILE [start|stop]"
-}
-
-case $1 in
-
- start)
- echo "${PREFIX} starting"
- if [ -e "$PIDFILE" ]; then
- echo "${PREFIX} warning: another thttpd seems to be running, trying to kill it"
- kill -9 `cat $PIDFILE`
- rm -f $PIDFILE
- fi
- $thttpd -d $DOCUMENTROOT -u www -nor -nos -p 80 -c '**.cgi' -i $PIDFILE -l $LOGFILE
- if [ "$?" != "0" ]; then
- echo "${PREFIX} error, could not start server"
- rm -f $PIDFILE
- else
- echo "${PREFIX} done"
- fi
- ;;
-
- stop)
- if [ -e "$PIDFILE" ]; then
- echo "${PREFIX} stopping"
- kill -USR1 `cat $PIDFILE`
- rm -f $PIDFILE
- echo "${PREFIX} done"
- else
- echo "${PREFIX} not running"
- fi
- ;;
-
- *)
-
- usage
- exit 1
- ;;
-
-esac
diff --git a/projectroot/var/www/thttpd.html b/projectroot/var/www/thttpd.html
deleted file mode 100644
index 78d520e93..000000000
--- a/projectroot/var/www/thttpd.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!-- This is a small demo to show thttpd is running on your system -->
-<HTML>
-<HEAD><TITLE>thttpd is running</TITLE></HEAD>
-<BODY BGCOLOR="#99cc99" TEXT="#000000" LINK="#2020ff" VLINK="#4040cc">
-
-<H3>thttpd is running</H3>
-
-<P>
-Looks like you got it working. Congrats.
-</P>
-
-<P>
-Here's a link to the <A HREF="http://www.acme.com/software/thttpd/">thttpd web pages</A>.
-</P>
-
-</BODY>
-</HTML>
base-commit: fd0dc47b258aac09ab961199a3c00ecddf98f244
--
2.47.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-11 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-11 9:26 [ptxdist] [PATCH] thttpd: Remove leftovers from package removal Alexander Dahl via ptxdist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox