File: config

package info (click to toggle)
cacti-spine 0.8.7e-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,900 kB
  • ctags: 534
  • sloc: ansic: 4,564; sh: 882; makefile: 70
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