You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
301 B
13 lines
301 B
#!/bin/bash
|
|
|
|
chemin_script=$(dirname "$0")
|
|
|
|
mkdir -p /etc/postfix/db
|
|
rm -f /etc/postfix/db/postfix.sqlite
|
|
|
|
# Création des tables
|
|
sqlite3 /etc/postfix/db/postfix.sqlite < "${chemin_script}"/postfix.sql
|
|
|
|
# Création des données
|
|
sqlite3 /etc/postfix/db/postfix.sqlite < "${chemin_script}"/données.sql
|