aboutsummaryrefslogtreecommitdiffstats
path: root/databases/firebird2-server/scripts/rmservice
diff options
context:
space:
mode:
Diffstat (limited to 'databases/firebird2-server/scripts/rmservice')
-rw-r--r--databases/firebird2-server/scripts/rmservice8
1 files changed, 8 insertions, 0 deletions
diff --git a/databases/firebird2-server/scripts/rmservice b/databases/firebird2-server/scripts/rmservice
new file mode 100644
index 00000000000..58adfc17419
--- /dev/null
+++ b/databases/firebird2-server/scripts/rmservice
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cp /etc/services /etc/services.old
+cp /etc/inetd.conf /etc/inetd.conf.old
+cat /etc/services |grep -v gds_db >/etc/services.new
+cat /etc/inetd.conf |grep -v gds_db >/etc/inetd.conf.new
+mv /etc/services.new /etc/services
+mv /etc/inetd.conf.new /etc/inetd.conf