mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-10-30 14:02:32 -04:00
🗃️ Update codebase 🗃️
rootfs/root/docker/setup/06-post.sh
This commit is contained in:
@@ -159,6 +159,7 @@ END{
|
|||||||
|
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Main script
|
# Main script
|
||||||
|
echo "Creating the onion web sites list"
|
||||||
cat >"$LIST_INDEX_FILE" <<'HTML'
|
cat >"$LIST_INDEX_FILE" <<'HTML'
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
@@ -172,6 +173,7 @@ cat >"$LIST_INDEX_FILE" <<'HTML'
|
|||||||
<body>
|
<body>
|
||||||
HTML
|
HTML
|
||||||
md2html >>"$LIST_INDEX_FILE"
|
md2html >>"$LIST_INDEX_FILE"
|
||||||
|
printf '<div><center>%s</center></div>\n' "Last uopdated on $(date +'%A, %B %d, %Y at %H:%M %Z')" >>"$LIST_INDEX_FILE"
|
||||||
printf '\n</body>\n</html>\n' >>"$LIST_INDEX_FILE"
|
printf '\n</body>\n</html>\n' >>"$LIST_INDEX_FILE"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Set the exit code
|
# Set the exit code
|
||||||
|
|||||||
Reference in New Issue
Block a user