mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 12:03:02 +01:00
28 lines
523 B
Bash
28 lines
523 B
Bash
#! /bin/sh
|
|
|
|
#= Main PreUn ================================================================
|
|
|
|
stopSuperServerIfRunning
|
|
|
|
|
|
cd $FBRootDir
|
|
if [ -f $SecurityDatabase ]
|
|
then
|
|
cp $SecurityDatabase /tmp
|
|
echo "Saved a copy of SecurityDatabase ($SecurityDatabase) in /tmp"
|
|
chown root:root /tmp/$SecurityDatabase
|
|
chmod 0600 /tmp/$SecurityDatabase
|
|
fi
|
|
|
|
|
|
for i in isc_init1* isc_event1* isc_lock1* isc_guard* firebird.log SYSDBA.password
|
|
do
|
|
if [ -f $i ]
|
|
then
|
|
rm -f $i
|
|
fi
|
|
done
|
|
|
|
|
|
rm -f $FBBin/fbmgr
|