diff --git a/cmake/Package.cmake b/cmake/Package.cmake index d9d0938..78aef5f 100644 --- a/cmake/Package.cmake +++ b/cmake/Package.cmake @@ -26,6 +26,5 @@ install(FILES unittest_python/unittest/etc/tsg-diagnose.config DESTINATION ./etc install(FILES service/tsg-diagnose.service DESTINATION /usr/lib/systemd/system) install(FILES dnsmasq/config/dnsmasq.conf DESTINATION /opt/tsg/tsg-diagnose/etc/) install(DIRECTORY images/ DESTINATION ./images) -install(DIRECTORY deploy/ DESTINATION ./deploy) include(CPack) diff --git a/deploy/init_certs/init_badssl_certs.sh b/deploy/init_certs/init_badssl_certs.sh deleted file mode 100644 index fc3473c..0000000 --- a/deploy/init_certs/init_badssl_certs.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -docker run --rm -v /opt/tsg/tsg-diagnose/.badssl_cert_dict:/badssl.com/unittest_certs -v /etc/localtime:/etc/localtime:ro -it badssl-tsg-diagnose /bin/bash -c 'make certs-test >> /dev/null && cp -r certs common /badssl.com/unittest_certs' \ No newline at end of file diff --git a/deploy/rsync/init_rsyncd.sh b/deploy/rsync/init_rsyncd.sh deleted file mode 100644 index 4022984..0000000 --- a/deploy/rsync/init_rsyncd.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -mkdir -p /opt/tsg/tsg-diagnose/.badssl_cert_dict/CA -/bin/cp -rf /opt/tsg/tsg-diagnose/.badssl_cert_dict/certs/sets/current/gen/crt/ca-root.crt /opt/tsg/tsg-diagnose/.badssl_cert_dict/CA -/bin/cp -rf /opt/tsg/tsg-diagnose/etc/wpr_cert.pem /opt/tsg/tsg-diagnose/.badssl_cert_dict/CA -rsync --daemon --config=/opt/tsg/tsg-diagnose/deploy/rsync/rsyncd.conf \ No newline at end of file diff --git a/deploy/rsync/rsyncd.conf b/deploy/rsync/rsyncd.conf deleted file mode 100644 index 2f14b55..0000000 --- a/deploy/rsync/rsyncd.conf +++ /dev/null @@ -1,2 +0,0 @@ -[blade0toother] -path=/opt/tsg/tsg-diagnose/.badssl_cert_dict/CA