File: diff-zeekctl-config

package info (click to toggle)
zeekctl 2.2.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,544 kB
  • sloc: python: 5,639; sh: 1,374; makefile: 71; awk: 24
file content (8 lines) | stat: -rwxr-xr-x 396 bytes parent folder | download
1
2
3
4
5
6
7
8
#! /usr/bin/env bash
#
# This script replaces values that change between test runs in
# zeekctl-config.zeek with the string XXXXXXXX.

sed -e 's/global_hash_seed = "[0-9a-f]*"/global_hash_seed = "XXXXXXXX"/' \
    -e 's/Cluster::default_store_dir = ".*"/Cluster::default_store_dir = "XXXXXXXX"/' \
    -e 's/Broker::table_store_db_directory = ".*"/Broker::table_store_db_directory = "XXXXXXXX"/'