File: config

package info (click to toggle)
fprobe 1.1-8.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 764 kB
  • sloc: sh: 3,166; ansic: 2,177; makefile: 16
file content (23 lines) | stat: -rw-r--r-- 420 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
22
23
#!/bin/sh

#Script to configure fprobe.

set -e

# 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