Changeset 10486 in hybrid for branches/releng-9.0/nanobsd


Ignore:
Timestamp:
Apr 13, 2012, 8:20:00 PM (13 years ago)
Author:
rick
Message:

Little speedup trick for the OpenVPN config generations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/cfg/nanobsd.wleiden

    r10471 r10486  
    201201)
    202202
     203# Takes a very long time (10+) minutes to generate this file on an ALIX board,
     204# not practical for quick debugging and configuration.
     205cust_openvpn_dhparam() (
     206        DHFILE=${NANO_WORLDDIR}/etc/easy-rsa-keys/dh1024.pem
     207        mkdir -p `dirname $DHFILE`
     208        openssl dhparam -out $DHFILE 1024
     209)
     210
    203211
    204212
     
    401409customize_cmd cust_version_tag
    402410customize_cmd cust_allow_ssh_root
     411customize_cmd cust_openvpn_dhparam
    403412customize_cmd cust_nano_prune
    404413customize_cmd cust_set_root_password
Note: See TracChangeset for help on using the changeset viewer.