summaryrefslogtreecommitdiffstats
path: root/database/firebird/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'database/firebird/PRE_BUILD')
-rwxr-xr-xdatabase/firebird/PRE_BUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/database/firebird/PRE_BUILD b/database/firebird/PRE_BUILD
new file mode 100755
index 0000000000..4f19d13f63
--- /dev/null
+++ b/database/firebird/PRE_BUILD
@@ -0,0 +1,20 @@
+#------------------------------------------------------------------------
+# stop server if it is running
+
+#if [[ `pgrep "(fbserver|fbguard|fb_lock_mgr)"` ]]
+#then
+# cat << EOF
+# Please stop the Firebird server first,
+# using 'telinit disable firebird'
+#EOF
+# return 1
+#elif [[ `pgrep "(fb_inet_server|fb_lock_mgr)"` ]]
+#then
+# echo "Please quit all Firebird applications and then proceed."
+# return 1
+#else
+# echo Assuming that Firebird server is not running
+ create_account firebird &&
+ default_pre_build
+#fi
+