blob: a8edb1989fc5cd9be893bbd8d6ae6b08acd04659 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#!/bin/sh
PATH=/bin:/usr/bin:/usr/sbin
buildwarning() {
cat <<EOF
###############################################################################
** IMPORTANT **
If you want to cancel it, press ctrl-C now if you need check some things
before of build it.
###############################################################################
EOF
sleep 5
}
case $2 in
PRE-INSTALL)
buildwarning
;;
POST-INSTALL)
cd /var/db/firebird
# Lock files
for i in isc_init1 isc_lock1 isc_event1
do
FileName=$i.`hostname`
touch $FileName
chmod uga=rw $FileName
chown firebird:firebird $FileName
done
touch firebird.log
chown firebird:firebird firebird.log security3.fdb
;;
esac
|