diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-05-20 08:19:39 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-05-20 08:19:56 +0200 |
commit | 50794b1de1b0211ee4c040a83bba9a5f3148d066 (patch) | |
tree | 81416e66e8478945470b097fd69436ef9fe98625 /share/hooks/live/0195-remove-ssl-cert-snakeoil.hook.chroot | |
parent | 3c303e7f53f7843c1f621d0889c4c6fec241ffbf (diff) | |
download | vyos-live-build-50794b1de1b0211ee4c040a83bba9a5f3148d066.tar.gz vyos-live-build-50794b1de1b0211ee4c040a83bba9a5f3148d066.zip |
Splitting non-live specific hooks into their own subdirectory within hooks.
Diffstat (limited to 'share/hooks/live/0195-remove-ssl-cert-snakeoil.hook.chroot')
-rwxr-xr-x | share/hooks/live/0195-remove-ssl-cert-snakeoil.hook.chroot | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/share/hooks/live/0195-remove-ssl-cert-snakeoil.hook.chroot b/share/hooks/live/0195-remove-ssl-cert-snakeoil.hook.chroot deleted file mode 100755 index cdfe39d24..000000000 --- a/share/hooks/live/0195-remove-ssl-cert-snakeoil.hook.chroot +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -set -e - -# Remove ssl-cert snakeoil - -if [ -e /etc/ssl/certs/ssl-cert-snakeoil.pem ] -then - rm -f /etc/ssl/certs/$(openssl x509 -hash -noout -in /etc/ssl/certs/ssl-cert-snakeoil.pem) - - rm -f /etc/ssl/certs/ssl-cert-snakeoil.pem - rm -f /etc/ssl/private/ssl-cert-snakeoil.key -fi |