mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Delete htmlfilelist.sh
This commit is contained in:
parent
7c49789c9b
commit
6352d21192
1 changed files with 0 additions and 22 deletions
|
@ -1,22 +0,0 @@
|
|||
#! /bin/bash
|
||||
|
||||
status="$URL"
|
||||
|
||||
# Static HTML
|
||||
echo '<html>
|
||||
<head>
|
||||
<title>'"${HTMLTITLE}"'</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>'"$status"'</p>
|
||||
<h2>Directory list:</h2><br />
|
||||
<a href="../">..</a><br />' >> $HTMLFILE
|
||||
|
||||
# Creation of the filelist
|
||||
for i in $( ls "${FILE}" ); do
|
||||
echo ' <a href="./'"${i}"'">'"${i}"'</a><br />' >> $HTMLFILE
|
||||
done
|
||||
|
||||
# Static HTML
|
||||
echo ' </body>
|
||||
</html>' >> $HTMLFILE
|
Loading…
Add table
Reference in a new issue