summaryrefslogtreecommitdiff
path: root/debian/remctl-server.postinst
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-09-22 01:40:50 -0700
committerRuss Allbery <rra@stanford.edu>2008-09-22 02:05:05 -0700
commitac48d35e7623c2f9043aa60139b6a71137e37682 (patch)
tree288925e8996f352e7290dbfa9830726e0444c919 /debian/remctl-server.postinst
parent5fb010f4345342bcb520cd0f803dd7c1cc547766 (diff)
Use the symbolic name for the remctl port in inetd.conf
* On new installations of remctl-server, add the inetd.conf line with the symbolic protocol name rather than the port number. Depend on a new enough version of netbase. Remove that line in prerm.
Diffstat (limited to 'debian/remctl-server.postinst')
-rwxr-xr-xdebian/remctl-server.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/remctl-server.postinst b/debian/remctl-server.postinst
index a0cc824..79b0dff 100755
--- a/debian/remctl-server.postinst
+++ b/debian/remctl-server.postinst
@@ -7,7 +7,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
# Only try to add the inetd line on an initial installation.
if [ -z "$2" ] || [ x"$2" = x"<unknown>" ] ; then
update-inetd --add \
- '4373\t\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd /usr/sbin/remctld'
+ 'remctl\t\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd /usr/sbin/remctld'
fi
fi