66f6985027
* Make use of USE_MYSQL * Convert scripts to rc.subr * Fix plist * Fix pkg-message not displayed during 'make install' * Depend on net/php4-nms * Allow to connect to remote MySQL DB * Even more... PR: 58061 Submitted by: Sergey Akifyev <asa@gascom.ru>
6 lines
108 B
Bash
6 lines
108 B
Bash
#!/bin/sh
|
|
|
|
{
|
|
echo "create database zabbix; use zabbix;"
|
|
cat mysql/schema.sql data/data.sql
|
|
} | mysql ${*}
|