summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/strongswan_right
diff options
context:
space:
mode:
authorTing Liu <b28495@freescale.com>2014-07-24 15:48:17 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2014-07-29 17:25:30 +0800
commit5efa2d27dcf4637b008faf782b5e257b748b24c0 (patch)
treec121c2e1e7e3457d17d388530cb01b384188e495 /recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/strongswan_right
parent512afc7c5cc481916241fd2dee20aec44ea6f2b4 (diff)
downloadmeta-fsl-ppc-5efa2d27dcf4637b008faf782b5e257b748b24c0.tar.gz
ipsec-demo (scripts and configuration files) add recipe
There are some ipsec demo scripts and configuration files for qoriq boards. add a recipe to hold them. Signed-off-by: Ting Liu <b28495@freescale.com>
Diffstat (limited to 'recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/strongswan_right')
-rwxr-xr-xrecipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/strongswan_right10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/strongswan_right b/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/strongswan_right
new file mode 100755
index 0000000..bcdbb73
--- /dev/null
+++ b/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/strongswan_right
@@ -0,0 +1,10 @@
1#strongswan on left board
2set -v
3cp -rf ipsec.conf.right /etc/ipsec.conf
4cp -rf ipsec.secrets.right /etc/ipsec.secrets
5cp -rf strongswan.conf /etc/
6cp -rf strongswanCert.pem /etc/ipsec.d/cacerts/
7cp -rf sunCert.pem /etc/ipsec.d/certs/
8mkdir /etc/ipsec.d/private
9cp -rf sunKey.pem /etc/ipsec.d/private/
10cp -rf moonKey.pem /etc/ipsec.d/private/