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
290 B
13 lines
290 B
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
chemin_script=$(dirname "$0")
|
||
|
|
||
|
mkdir -p /etc/postfix/
|
||
|
rm -f /etc/postfix/postfix.sqlite
|
||
|
|
||
|
# Création des tables
|
||
|
sqlite3 /etc/postfix/postfix.sqlite < "${chemin_script}"/postfix.sql
|
||
|
|
||
|
# Création des données
|
||
|
sqlite3 /etc/postfix/postfix.sqlite < "${chemin_script}"/données.sql
|