File: config

package info (click to toggle)
cacti-spine 1.2.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 628 kB
  • sloc: ansic: 6,371; sh: 107; makefile: 33
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