# HG changeset patch # User Pascal Bellard # Date 1345568650 -7200 # Node ID dc8eca11e97ccf14aae57e1dd978bd9ff4c9f467 # Parent eaaa39422d96d24f34b253952f07b94509497fa4 Add lpd-config diff -r eaaa39422d96 -r dc8eca11e97c dropbear-without-zlib/receipt --- a/dropbear-without-zlib/receipt Sat Aug 18 08:46:42 2012 +0200 +++ b/dropbear-without-zlib/receipt Tue Aug 21 19:04:10 2012 +0200 @@ -58,13 +58,11 @@ # Post message when installing. post_install() { - cat >> $1/etc/daemons.conf < $1/etc/dropbear/dropbear_dss_host_key $DSSKEY EOT diff -r eaaa39422d96 -r dc8eca11e97c dropbear/receipt --- a/dropbear/receipt Sat Aug 18 08:46:42 2012 +0200 +++ b/dropbear/receipt Tue Aug 21 19:04:10 2012 +0200 @@ -58,13 +58,11 @@ # Post message when installing. post_install() { - cat >> $1/etc/daemons.conf < $1/etc/dropbear/dropbear_dss_host_key $DSSKEY EOT diff -r eaaa39422d96 -r dc8eca11e97c ftp-config/receipt --- a/ftp-config/receipt Sat Aug 18 08:46:42 2012 +0200 +++ b/ftp-config/receipt Tue Aug 21 19:04:10 2012 +0200 @@ -28,7 +28,7 @@ [ -n "$UPLOAD" ] && ROOT="-w $ROOT" grep -q inetd $1/etc/rcS.conf || sed -i 's/^RUN_DAEMONS="/&inetd /' $1/etc/rcS.conf - cat >> $1/etc/inetd.conf <> $1/etc/inetd.conf < +EOT +} + +post_install() +{ + local n + grep -q inetd $1/etc/rcS.conf || + sed -i 's/^RUN_DAEMONS="/&inetd /' $1/etc/rcS.conf + cat >> $1/etc/inetd.conf < $1/etc/rsyncd.motd <> $1/etc/daemons.conf <