diff options
author | Russ Allbery <rra@stanford.edu> | 2008-09-22 01:40:50 -0700 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-09-22 02:05:05 -0700 |
commit | ac48d35e7623c2f9043aa60139b6a71137e37682 (patch) | |
tree | 288925e8996f352e7290dbfa9830726e0444c919 /debian/remctl-server.postinst | |
parent | 5fb010f4345342bcb520cd0f803dd7c1cc547766 (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-x | debian/remctl-server.postinst | 2 |
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 |