From 59bcef5c27540527fc4ca1007e9cfea5783ba233 Mon Sep 17 00:00:00 2001 From: Epoch Qwert Date: Thu, 27 Nov 2014 03:10:16 -0600 Subject: updated httpd.c to use different dirs for sites and vhosts updated gopherd.sh to use the new rdns script rdns script just wraps dig -x and outputs a real hostname instead of one ending with a '.' rebuild.sh got a cd added to the top so it can be run from somewhere else mime-type got an error line commented out. --- nocompile/bin/rdns | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 nocompile/bin/rdns (limited to 'nocompile/bin/rdns') diff --git a/nocompile/bin/rdns b/nocompile/bin/rdns new file mode 100755 index 0000000..347e416 --- /dev/null +++ b/nocompile/bin/rdns @@ -0,0 +1,2 @@ +#!/bin/sh +dig +short -x "$1" | head -n1 | rev | tail -c+2 | rev -- cgit v1.2.3