aboutsummaryrefslogtreecommitdiff
path: root/databases/firebird/scripts/rmservice
diff options
context:
space:
mode:
Diffstat (limited to 'databases/firebird/scripts/rmservice')
-rw-r--r--databases/firebird/scripts/rmservice8
1 files changed, 8 insertions, 0 deletions
diff --git a/databases/firebird/scripts/rmservice b/databases/firebird/scripts/rmservice
new file mode 100644
index 000000000000..58adfc17419d
--- /dev/null
+++ b/databases/firebird/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