log diffs setting
This commit is contained in:
parent
20cb78e653
commit
efa7548513
|
@ -544,6 +544,12 @@ function install_keyserver {
|
|||
sed -i "s|#stat_hour:.*|stat_hour: $((1 + RANDOM % 8))|g" $sksconf_file
|
||||
sed -i "s|stat_hour:.*|stat_hour: $((1 + RANDOM % 8))|g" $sksconf_file
|
||||
fi
|
||||
if ! grep -q "disable_log_diffs:" $sksconf_file; then
|
||||
echo "disable_log_diffs:" >> $sksconf_file
|
||||
else
|
||||
sed -i "s|#disable_log_diffs:.*|disable_log_diffs:|g" $sksconf_file
|
||||
sed -i "s|disable_log_diffs:.*|disable_log_diffs:|g" $sksconf_file
|
||||
fi
|
||||
|
||||
chown debian-sks: $sksconf_file
|
||||
|
||||
|
|
Loading…
Reference in New Issue