aboutsummaryrefslogtreecommitdiff
path: root/network/strongswan/doinst.sh
blob: 4b382544107480507463259c97e767ad7fb057d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
config() {
 NEW="$1"
 OLD="$(dirname $NEW)/$(basename $NEW .new)"
 # If there's no config file by that name, mv it over:
 if [ ! -r $OLD ]; then
   mv $NEW $OLD
 elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
   rm $NEW
 fi
 # Otherwise, we leave the .new copy for the admin to consider...
}

config etc/ipsec.conf.new
config etc/ipsec.secrets.new
config etc/strongswan.conf.new
config etc/swanctl/swanctl.conf.new
config etc/strongswan.d/starter.conf.new
config etc/strongswan.d/swanctl.conf.new
config etc/strongswan.d/charon-logging.conf.new
config etc/strongswan.d/pki.conf.new
config etc/strongswan.d/scepclient.conf.new
config etc/strongswan.d/charon/attr.conf.new
config etc/strongswan.d/charon/sshkey.conf.new
config etc/strongswan.d/charon/pem.conf.new
config etc/strongswan.d/charon/mgf1.conf.new
config etc/strongswan.d/charon/pkcs8.conf.new
config etc/strongswan.d/charon/kernel-netlink.conf.new
config etc/strongswan.d/charon/nonce.conf.new
config etc/strongswan.d/charon/curve25519.conf.new
config etc/strongswan.d/charon/pkcs12.conf.new
config etc/strongswan.d/charon/x509.conf.new
config etc/strongswan.d/charon/dnskey.conf.new
config etc/strongswan.d/charon/stroke.conf.new
config etc/strongswan.d/charon/random.conf.new
config etc/strongswan.d/charon/hmac.conf.new
config etc/strongswan.d/charon/vici.conf.new
config etc/strongswan.d/charon/md5.conf.new
config etc/strongswan.d/charon/pubkey.conf.new
config etc/strongswan.d/charon/counters.conf.new
config etc/strongswan.d/charon/sha2.conf.new
config etc/strongswan.d/charon/rc2.conf.new
config etc/strongswan.d/charon/pkcs1.conf.new
config etc/strongswan.d/charon/aes.conf.new
config etc/strongswan.d/charon/xauth-generic.conf.new
config etc/strongswan.d/charon/revocation.conf.new
config etc/strongswan.d/charon/cmac.conf.new
config etc/strongswan.d/charon/sha1.conf.new
config etc/strongswan.d/charon/updown.conf.new
config etc/strongswan.d/charon/pkcs7.conf.new
config etc/strongswan.d/charon/fips-prf.conf.new
config etc/strongswan.d/charon/gmp.conf.new
config etc/strongswan.d/charon/pgp.conf.new
config etc/strongswan.d/charon/xcbc.conf.new
config etc/strongswan.d/charon/openssl.conf.new
config etc/strongswan.d/charon/des.conf.new
config etc/strongswan.d/charon/constraints.conf.new
config etc/strongswan.d/charon/resolve.conf.new
config etc/strongswan.d/charon/socket-default.conf.new
config etc/strongswan.d/charon.conf.new