start working on new landing page

This commit is contained in:
t3chn0m4g3
2020-01-24 02:21:33 +00:00
parent d643ca7a01
commit 95a075e764
15 changed files with 413 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#!/bin/bash
# Got root?
myWHOAMI=$(whoami)
if [ "$myWHOAMI" != "root" ]
then
echo "Need to run as root ..."
exit
fi
if [ "$1" = "2048" ] || [ "$1" = "4096" ] || [ "$1" = "8192" ]
then
openssl dhparam -outform PEM -out dhparam$1.pem $1
else
echo "Usage: ./gen-dhparam [2048, 4096, 8192]..."
fi