Thanks, applied as 5e1afb07c9633cc7942f70c5fffb3ca1cedfb6bf.

Michael

[sent from post-receive hook]

On Fri, 12 Dec 2025 15:52:17 +0100, Alexander Dahl <[email protected]> wrote:
> 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 <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/projectroot/etc/init.d/thttpd b/projectroot/etc/init.d/thttpd
> deleted file mode 100644
> index 51102b9d0f60..000000000000
> --- 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 78d520e931dc..000000000000
> --- 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>

Reply via email to