Lines 10-25
Link Here
|
10 |
mv $PKG_PREFIX/firebird $PKG_PREFIX/firebird.old |
10 |
mv $PKG_PREFIX/firebird $PKG_PREFIX/firebird.old |
11 |
fi |
11 |
fi |
12 |
|
12 |
|
13 |
if [ -L /usr/interbase ]; then |
|
|
14 |
rm -f /usr/interbase |
15 |
fi |
16 |
|
17 |
if [ -d /usr/interbase ]; then |
18 |
mv /usr/interbase /usr/interbase.old |
19 |
fi |
20 |
|
21 |
ln -fs $PKG_PREFIX/firebird /usr/interbase |
22 |
|
23 |
if [ `id -u` -ne 0 ]; then |
13 |
if [ `id -u` -ne 0 ]; then |
24 |
echo; echo "You must be root to run this step!"; echo; echo |
14 |
echo; echo "You must be root to run this step!"; echo; echo |
25 |
exit 1 |
15 |
exit 1 |
Lines 140-146
Link Here
|
140 |
gds_db 3050/tcp #InterBase Database Remote Protocol |
130 |
gds_db 3050/tcp #InterBase Database Remote Protocol |
141 |
EOF |
131 |
EOF |
142 |
cat >>/etc/inetd.conf <<EOF |
132 |
cat >>/etc/inetd.conf <<EOF |
143 |
gds_db stream tcp nowait firebird /usr/interbase/bin/gds_inet_server gds_inet_server |
133 |
gds_db stream tcp nowait firebird $PKG_PREFIX/firebird/bin/gds_inet_server gds_inet_server |
144 |
EOF |
134 |
EOF |
145 |
if [ -f /var/run/inetd.pid ]; then |
135 |
if [ -f /var/run/inetd.pid ]; then |
146 |
kill -HUP `cat /var/run/inetd.pid` |
136 |
kill -HUP `cat /var/run/inetd.pid` |