You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
281 B
Bash

#!/bin/sh
for file in index.txt serial
do
cp -a ./workdir/$file ./workdir/${file}.backup
done
cp -a ./destdir/certs/foo-cert.pem ./destdir/certs/foo-cert.pem.backup
for file in foo-key.pem foo-keycert.pem
do
cp -a ./destdir/private/$file ./destdir/private/${file}.backup
done