print current datetime on start
This commit is contained in:
3
renew_cert.sh
Executable file → Normal file
3
renew_cert.sh
Executable file → Normal file
@ -17,6 +17,9 @@ openssl_conf=$opt_dir/openssl.conf
|
||||
# stop script if receive SIGINT signal (ctrl-c)
|
||||
trap "exit" INT
|
||||
|
||||
#print starting date
|
||||
echo "Cert renew script: $(date)"
|
||||
|
||||
# check if needed files are provided
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "No arguments provided."
|
||||
|
Reference in New Issue
Block a user