diff options
Diffstat (limited to 'databases/firebird2-server/scripts/addservice')
-rw-r--r-- | databases/firebird2-server/scripts/addservice | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/databases/firebird2-server/scripts/addservice b/databases/firebird2-server/scripts/addservice new file mode 100644 index 000000000000..df9aea5e91de --- /dev/null +++ b/databases/firebird2-server/scripts/addservice @@ -0,0 +1,9 @@ +#!/bin/sh + +cat >>/etc/services <<EOF +gds_db 3050/tcp #InterBase Database Remote Protocol +EOF +cat >>/etc/inetd.conf <<EOF +gds_db stream tcp nowait firebird /usr/interbase/bin/gds_inet_server gds_inet_server +EOF +kill -HUP `cat /var/run/inetd.pid` |