File: config

package info (click to toggle)
cacti-spine 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,268 kB
  • sloc: ansic: 6,298; sh: 4,312; makefile: 32
file content (18 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

case "$1" in
"configure"|"reconfigure")
	# get mysql info from cacti
	db_input high cacti/mysql_server || true
	db_input high cacti/database || true
	db_input high cacti/username || true
	db_input high cacti/password || true

	db_go || true
;;
esac