add simple script to create config file

This commit is contained in:
Ray Elliott 2020-05-06 13:38:07 +01:00
parent 462d529a58
commit d947f564e9
1 changed files with 10 additions and 0 deletions

10
create-config.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ -z "$1" ] ; then
echo "Error - must supply filename"
exit 1
fi
cp /home/ray/Projects/wordpress-dev/config-example "$1"