/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to initramfs-tools-hook

  • Committer: Teddy Hogeborn
  • Date: 2015-07-09 08:57:02 UTC
  • Revision ID: teddy@recompile.se-20150709085702-7bsl6191yo2eusik
initramfs-tools-hook: Use Diffie-Hellman parameters file if available.

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
            ;;
232
232
    esac
233
233
done
 
234
# Use Diffie-Hellman parameters file if available
 
235
if [ -e "${DESTDIR}${CONFDIR}"/client-dhparams.pem ]; then
 
236
    sed --in-place \
 
237
        --expression="1i--options-for=mandos-client:--dh-params=${CONFDIR}/client-dhparams.pem" \
 
238
        "${DESTDIR}/${CONFDIR}/plugin-runner.conf"
 
239
fi
234
240
 
235
241
# /lib/mandos/plugin-runner will drop priviliges, but needs access to
236
242
# its plugin directory and its config file.  However, since almost all