wok-tiny rev 117

ftp-config: fix inetd.conf update
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 03 09:06:20 2016 +0200 (2016-04-03)
parents 52bd0412b176
children cda63f13344c
files ftp-config/receipt
line diff
     1.1 --- a/ftp-config/receipt	Sat Apr 02 11:32:33 2016 +0200
     1.2 +++ b/ftp-config/receipt	Sun Apr 03 09:06:20 2016 +0200
     1.3 @@ -31,7 +31,7 @@
     1.4  	grep -q inetd $1/etc/rcS.conf ||
     1.5  	sed -i 's/^RUN_DAEMONS="/&inetd /' $1/etc/rcS.conf
     1.6  	sed -i '/#ftp/d' $1/etc/inetd.conf
     1.7 -	grep -q ftpd $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
     1.8 +	grep -q 'stream.*ftpd' $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
     1.9  ftp	stream	tcp	nowait	root	ftpd ftpd $ROOT
    1.10  EOT
    1.11  }