diff options
author | Ting Liu <b28495@freescale.com> | 2014-07-24 15:48:17 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2014-07-29 17:25:30 +0800 |
commit | 5efa2d27dcf4637b008faf782b5e257b748b24c0 (patch) | |
tree | c121c2e1e7e3457d17d388530cb01b384188e495 /recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/strongswan_right | |
parent | 512afc7c5cc481916241fd2dee20aec44ea6f2b4 (diff) | |
download | meta-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-x | recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/strongswan_right | 10 |
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 | ||
2 | set -v | ||
3 | cp -rf ipsec.conf.right /etc/ipsec.conf | ||
4 | cp -rf ipsec.secrets.right /etc/ipsec.secrets | ||
5 | cp -rf strongswan.conf /etc/ | ||
6 | cp -rf strongswanCert.pem /etc/ipsec.d/cacerts/ | ||
7 | cp -rf sunCert.pem /etc/ipsec.d/certs/ | ||
8 | mkdir /etc/ipsec.d/private | ||
9 | cp -rf sunKey.pem /etc/ipsec.d/private/ | ||
10 | cp -rf moonKey.pem /etc/ipsec.d/private/ | ||