File: config

package info (click to toggle)
cacti-spine 0.8.8h-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,796 kB
  • ctags: 698
  • sloc: ansic: 5,199; sh: 4,234; makefile: 23
file content (18 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (8)
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