From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>,
Michael Olbrich <m.olbrich@pengutronix.de>
Subject: [ptxdist] [PATCH] thttpd: Remove leftovers from package removal
Date: Thu, 11 Dec 2025 10:26:28 +0100 [thread overview]
Message-ID: <20251211092628.1227497-1-ada@thorsis.com> (raw)
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
next reply other threads:[~2025-12-11 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-11 9:26 Alexander Dahl via ptxdist [this message]
2025-12-12 14:52 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251211092628.1227497-1-ada@thorsis.com \
--to=ptxdist@pengutronix.de \
--cc=ada@thorsis.com \
--cc=m.olbrich@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox