This file is indexed.

config is in chillispot 1.0-10.1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
set -e

# debconf library
. /usr/share/debconf/confmodule

STATE=1
# Ask questions.
while [ "$STATE" != "stop" ]; do
	 case "$STATE" in
		  1)
				db_input medium chillispot/config || true
				db_go && STATE=2
				;;
		  2)
				db_get chillispot/config
				if [ "$RET" = "true" ]; then 
					 db_input high chillispot/radiusserver1 || true
					 db_go || true 
					 db_get chillispot/radiusserver1
					 RADIUSIP1="$RET"
					 db_set chillispot/radiusserver2 "$RADIUSIP1"
					 db_input medium chillispot/radiusserver2 || true
					 db_input high chillispot/radiussecret || true
					 db_input high chillispot/dhcpif || true
					 db_input high chillispot/uamserver || true
					 db_input high chillispot/uamhomepage || true
					 db_input high chillispot/uamsecret || true
				fi
				db_go || true
				STATE=stop
				;;
		  *)
				break
				;;
	 esac
done