summaryrefslogtreecommitdiffstats
path: root/scripts/firstrun/70-elinks
blob: 5cd34bdeb17a63203ba46bccd90255f27374025e (plain)
1
2
3
4
5
6
7
8
9
10
# see ../certs/cert-import
mkdir ~/.elinks 2>/dev/null
elinks -config-dump | sed -e "s|^\([ \t]\+\)\(set[ \t]\+"\
"connection.ssl.cert_verify[ \t]\+=[ \t]\+\)\(.*\)|\1#\2\3\n\1\2"\
"1|" -e "s|^\([ \t]\+\)\(set[ \t]\+"\
"connection.ssl.trusted_ca_file[ \t]\+=[ \t]\+\)\(.*\)|\1#\2\3\n\1\2"\
"\"${HOME}/.pki/tls/certs/ca-bundle.crt\"|" -e "s|^\([ \t]\+\)\(set[ \t]\+"\
"config.saving_style[ \t]\+=[ \t]\+\)\(.*\)|\1#\2\3\n\1\2"\
"3|" \
> ~/.elinks/elinks.conf