diff options
author | Michael Biebl <biebl@debian.org> | 2008-03-29 12:14:30 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2008-03-29 12:14:30 +0100 |
commit | 60ca71394b49d283841f91facefadb2d43de4313 (patch) | |
tree | af8b1a5dcfa0031a1d54ce318145a81e6f6e5c01 /debian/rsyslog-mysql.config | |
parent | 1ff3d60958bd7f477cf3dfaf8b20a4637109c18f (diff) | |
download | rsyslog-60ca71394b49d283841f91facefadb2d43de4313.tar.gz |
Imported Debian patch 1.19.2-1debian/1.19.2-1
Diffstat (limited to 'debian/rsyslog-mysql.config')
-rw-r--r-- | debian/rsyslog-mysql.config | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/rsyslog-mysql.config b/debian/rsyslog-mysql.config new file mode 100644 index 0000000..b9ce31f --- /dev/null +++ b/debian/rsyslog-mysql.config @@ -0,0 +1,16 @@ +#!/bin/sh +# config maintainer script for rsyslog-mysql + +# source debconf stuff +. /usr/share/debconf/confmodule + +# source dbconfig-common shell library, and call the hook function +if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then + . /usr/share/dbconfig-common/dpkg/config.mysql + + dbc_dbname="Syslog" + dbc_dbuser="rsyslog" + + dbc_go rsyslog-mysql $@ +fi + |