From c7fc76bc8f2a9e714b8db7f2e32b605d5b42d800 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 14 Jun 2012 12:51:33 +0200 Subject: [PATCH] =?UTF-8?q?import=20uniquement=20du=20sch=C3=A9ma=20lors?= =?UTF-8?q?=20de=20la=20cr=C3=A9ation=20de=20la=20base=20de=20donn=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-proxy | 4 ---- 1 file changed, 4 deletions(-) diff --git a/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-proxy b/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-proxy index 49afd28..391da50 100644 --- a/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-proxy +++ b/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-proxy @@ -4,8 +4,6 @@ my $user = ${'zabbix-proxy'}{'DbUser'} || 'zabbix'; my $pass = ${'zabbix-proxy'}{'DbPassword'} || 'secret'; my $schema = `rpm -qd zabbix-server | grep schema | grep mysql`; -my $data = `rpm -qd zabbix-server | grep data.sql`; -my $images = `rpm -qd zabbix-server | grep images_mysql`; $OUT .= <<"END"; @@ -17,8 +15,6 @@ if [ -d /var/lib/mysql/$db ]; then else /usr/bin/mysqladmin create $db /usr/bin/mysql $db < $schema - /usr/bin/mysql $db < $data - /usr/bin/mysql $db < $images fi /usr/bin/mysql <