wok-current rev 19769

rsync: may not require /etc/inetd.conf (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 20 18:09:56 2017 +0100 (2017-02-20)
parents 0a60ce0bf59a
children d57d733bbb57
files rsync/receipt
line diff
     1.1 --- a/rsync/receipt	Mon Feb 20 15:02:16 2017 +0100
     1.2 +++ b/rsync/receipt	Mon Feb 20 18:09:56 2017 +0100
     1.3 @@ -47,6 +47,10 @@
     1.4  	cp -a $stuff/usr $fs
     1.5  	chown root.root $fs/etc/init.d/*
     1.6  	chmod 0644 $fs/etc/rsyncd.conf
     1.7 +}
     1.8 +
     1.9 +post_install()
    1.10 +{
    1.11  	[ -s "$1/etc/inetd.conf" ] &&
    1.12  	! grep -qs rsync "$1/etc/inetd.conf" &&
    1.13  	cat >> "$1/etc/inetd.conf" <<EOT