File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -127,19 +127,19 @@ if [ $1 -eq 1 ]; then
127127 /usr/sbin/openli-prov-authsetup.sh ${DBPHRASE} /var/lib/openli/provauth.db
128128 echo ${DBPHRASE} > /etc/openli/provauthdb.phrase
129129 chmod 0640 /etc/openli/provauthdb.phrase
130+ fi
130131
132+ if [ ! -f /etc/openli/.intercept-encrypt ]; then
131133 # Set up password for encrypting the intercept config file
132134 s= ""
133135 until s+= $(dd bs= 64 count= 1 if= /dev/urandom 2> /dev/null | LC_ALL= C tr -cd 'a-zA-Z0-9')
134136 ((${#s} >= 32)); do :; done
135137 ENCPHRASE= ${s:0:32}
136- if [ ! -f /etc/openli/.intercept-encrypt ]; then
137- echo ${ENCPHRASE} > /etc/openli/.intercept-encrypt
138- chmod 0640 /etc/openli/.intercept-encrypt
139- fi
138+ echo ${ENCPHRASE} > /etc/openli/.intercept-encrypt
139+ chmod 0640 /etc/openli/.intercept-encrypt
140+ fi
140141
141142
142- fi
143143
144144if [ ! -f /etc/openli/.intercept-encrypt ]; then
145145 # Set up password for encrypting the intercept config file
Original file line number Diff line number Diff line change @@ -177,7 +177,6 @@ typedef struct ipintercept {
177177 uint32_t options ;
178178 UT_hash_handle hh_liid ;
179179 UT_hash_handle hh_user ;
180- UT_hash_handle hh_xid ;
181180} ipintercept_t ;
182181
183182typedef struct email_target {
You can’t perform that action at this time.
0 commit comments