diff options
Diffstat (limited to 'databases/firebird20-server/pkg-install')
-rw-r--r-- | databases/firebird20-server/pkg-install | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/databases/firebird20-server/pkg-install b/databases/firebird20-server/pkg-install index 099f93a67d7c..e716ae8fa917 100644 --- a/databases/firebird20-server/pkg-install +++ b/databases/firebird20-server/pkg-install @@ -7,13 +7,6 @@ PATH=/bin:/usr/bin:/usr/sbin case $2 in PRE-INSTALL) -if [ -d $PKG_PREFIX/firebird ]; then - if [ -d $PKG_PREFIX/firebird.old ]; then - rm -rf $PKG_PREFIX/firebird.old - fi - cp -Rp $PKG_PREFIX/firebird $PKG_PREFIX/firebird.old -fi - if [ `id -u` -ne 0 ]; then echo; echo "You must be root to run this step!"; echo; echo exit 1 @@ -140,25 +133,6 @@ chmod ug=rw,o= security.fdb chmod 444 aliases.conf firebird.conf chmod 660 security.fdb -# remove any existing gds service -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 - -# add the gds service and restart inetd -cat >>/etc/services <<EOF -gds_db 3050/tcp #InterBase Database Remote Protocol -EOF -cat >>/etc/inetd.conf <<EOF -gds_db stream tcp nowait firebird $PKG_PREFIX/firebird/bin/fb_inet_server fb_inet_server -EOF -if [ -f /var/run/inetd.pid ]; then - kill -HUP `cat /var/run/inetd.pid` -fi - # shared lib startup script if [ -d $PKG_PREFIX/etc/rc.d ]; then ( |