From e2f5a8f92331008711d8283599554eec65c89ac6 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 6 Apr 2015 14:00:58 -0400 Subject: [PATCH] updated from live version of these. --- scripts/cgi/cgi_nechung.cgi | 2 +- scripts/cgi/indextext.html | 1 + scripts/cgi/nechung.cgi | 2 +- scripts/cgi/paths.ini | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) create mode 120000 scripts/cgi/indextext.html create mode 100755 scripts/cgi/paths.ini diff --git a/scripts/cgi/cgi_nechung.cgi b/scripts/cgi/cgi_nechung.cgi index f684ab63..46860dfa 100644 --- a/scripts/cgi/cgi_nechung.cgi +++ b/scripts/cgi/cgi_nechung.cgi @@ -1,3 +1,3 @@ -#!/bin/bash +#!/bin/dash export TMP=/tmp /usr/lib/cgi-bin/cgi_nechung /usr/lib/cgi-bin/fortunes.dat diff --git a/scripts/cgi/indextext.html b/scripts/cgi/indextext.html new file mode 120000 index 00000000..50b0210c --- /dev/null +++ b/scripts/cgi/indextext.html @@ -0,0 +1 @@ +/usr/share/gitweb/indextext.html \ No newline at end of file diff --git a/scripts/cgi/nechung.cgi b/scripts/cgi/nechung.cgi index 6899c865..3ddee355 100644 --- a/scripts/cgi/nechung.cgi +++ b/scripts/cgi/nechung.cgi @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/dash export TMP=/tmp echo 'content-type: text/plain' echo diff --git a/scripts/cgi/paths.ini b/scripts/cgi/paths.ini new file mode 100755 index 00000000..fe57bba9 --- /dev/null +++ b/scripts/cgi/paths.ini @@ -0,0 +1,3 @@ +[Common] +LogPath=/tmp/cgi-bin-logs + -- 2.34.1