summaryrefslogtreecommitdiffstats
path: root/databases/firebird-server/scripts/addservice
blob: df9aea5e91de38d8ba25d4e6d374328a7f9991d0 (plain)
1
2
3
4
5
6
7
8
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`
OpenPOWER on IntegriCloud