- Timestamp:
- Oct 28, 2008, 10:53:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-vnc-server/debian/invirt-vnc-server.postinst
r1388 r1400 21 21 case "$1" in 22 22 configure) 23 if [ -z "$2" ]; then24 echo "Please be sure to copy vncproxy.crt and vncproxykey.pem into /usr/share/invirt-vnc-server/"25 fi26 23 mkdir -p /etc/invirt/secrets 24 if ! [ -e /etc/invirt/secrets/vnc.pem ]; then 25 openssl genrsa -out /etc/invirt/secrets/vnc.pem 1024 >/dev/null 26 fi 27 28 if ! [ -e /etc/invirt/secrets/vnc.crt ]; then 29 openssl req -new -x509 -nodes -sha1 -subj '/' -key /etc/invirt/secrets/vnc.pem \ 30 > /etc/invirt/secrets/vnc.crt 31 fi 32 27 33 if ! [ -e /etc/invirt/secrets/vnc-key ]; then 28 34 openssl rand -base64 33 >/etc/invirt/secrets/vnc-key
Note: See TracChangeset
for help on using the changeset viewer.