wok-tiny rev 147

Add rsh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 02 12:56:00 2019 +0200 (2019-09-02)
parents 1869a110d35f
children ce7e0df8d0af
files rsh/receipt
line diff
     1.1 --- a/rsh/receipt	Mon Sep 02 12:49:50 2019 +0200
     1.2 +++ b/rsh/receipt	Mon Sep 02 12:56:00 2019 +0200
     1.3 @@ -41,6 +41,7 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 +	echo "$RSH_HOSTS" > $1/root/.rhosts
     1.8  	if [ "$STARTRSH" = "ON" ]; then
     1.9  		grep -q inetd $1/etc/rcS.conf ||
    1.10  		sed -i 's/^RUN_DAEMONS="/&inetd /' $1/etc/rcS.conf