File: config

package info (click to toggle)
fprobe 1.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, trixie
  • size: 764 kB
  • sloc: sh: 3,165; ansic: 2,177; makefile: 15
file content (21 lines) | stat: -rw-r--r-- 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh -e

#Script to configure fprobe.

# Use debconf.
. /usr/share/debconf/confmodule

# Load config file, if it exists.
if [ -e /etc/default/fprobe ]; then
	. /etc/default/fprobe || true

	# Store values from config file into debconf db.
	db_set fprobe/interface "$INTERFACE"
	db_set fprobe/collector "$FLOW_COLLECTOR"
fi


db_input high fprobe/interface || true
db_input high fprobe/collector || true
db_go