File: config

package info (click to toggle)
cacti-spine 0.8.8a-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,868 kB
  • sloc: sh: 11,161; ansic: 5,158; makefile: 23
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