I am packaging a program (http://melkor.dnp.fmph.uniba.sk/~garabik/xtell.html) which is a daemon, and can run from inetd. As such, it needs an entry in /etc/services. What is the best way to add a line to the file? Currently I am using
update-inetd --file /etc/services --add 'xtell 4224/tcp # xtell server' update-inetd --add 'xtell stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/xtelld' but I feel a bit uneasy about it. (update-inetd was not designed to do this, /etc/services is a conffile of netbase, and can be overwritten when netbase is upgraded etc...) thanks for suggestions -- ----------------------------------------------------------- | Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ | | __..--^^^--..__ garabik @ fmph.uniba.sk | ----------------------------------------------------------- Antivirus alert: file .signature infected by signature virus. Hi! I'm a signature virus! Copy me into your signature file to help me spread!