Debian Codegraph @

debian/config

raw
1 #!/bin/sh
2
3 #Script to configure fprobe.
4
5 set -e
6
7 # Use debconf.
8 . /usr/share/debconf/confmodule
9
10 # Load config file, if it exists.
11 if [ -e /etc/default/fprobe ]; then
12 . /etc/default/fprobe || true
13
14 # Store values from config file into debconf db.
15 db_set fprobe/interface "$INTERFACE"
16 db_set fprobe/collector "$FLOW_COLLECTOR"
17 fi
18
19
20 db_input high fprobe/interface || true
21 db_input high fprobe/collector || true
22 db_go
23