wok-tiny diff telnet-config/receipt @ rev 142

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 27 17:43:23 2019 +0100 (7 months ago)
parents 0d8ef9102fc0
children e37956962a84
line diff
     1.1 --- a/telnet-config/receipt	Sat Feb 27 10:51:46 2016 +0100
     1.2 +++ b/telnet-config/receipt	Wed Feb 27 17:43:23 2019 +0100
     1.3 @@ -2,7 +2,8 @@
     1.4  
     1.5  PACKAGE="telnet-config"
     1.6  VERSION="1.0"
     1.7 -CATEGORY="network"
     1.8 +CATEGORY="meta"
     1.9 +GROUP="network"
    1.10  SHORT_DESC="Enable Telnet server"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 @@ -19,6 +20,7 @@
    1.14  {
    1.15  	grep -q inetd $1/etc/rcS.conf ||
    1.16  	sed -i 's/^RUN_DAEMONS="/&inetd /' $1/etc/rcS.conf
    1.17 +	sed -i '/#telnet/d' $1/etc/inetd.conf
    1.18  	grep -q telnetd $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
    1.19  telnet	stream	tcp	nowait	root	telnetd	telnetd -i
    1.20  EOT