From 42f0ca992d2edd12b816363b81adc2c0e80321e8 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Tue, 24 Feb 1998 20:28:17 +0000 Subject: Simple Asynchronous File Transfer Reference Implementation. PR: 4664 Submitted by: Stefan Zehl --- net/sendfile/files/patch-ab | 78 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 net/sendfile/files/patch-ab (limited to 'net/sendfile/files/patch-ab') diff --git a/net/sendfile/files/patch-ab b/net/sendfile/files/patch-ab new file mode 100644 index 000000000000..3a80e29aa2b4 --- /dev/null +++ b/net/sendfile/files/patch-ab @@ -0,0 +1,78 @@ +--- develop/install.orig Tue Feb 24 14:06:09 1998 ++++ develop/install Tue Feb 24 14:09:09 1998 +@@ -98,31 +98,6 @@ + if [ "$INETDCONF" = "" ]; then INETDCONF=/etc/inetd.conf; fi + if [ "$SERVICES" = "" ]; then SERVICES=/etc/services; fi + +-cat <>$INETDCONF +- echo "# simple asynchronous file transfer" >>$INETDCONF + echo "saft stream tcp nowait root $SFD" >>$INETDCONF + fi + +-if [ -f /etc/inetd.sec ]; then +- if [ "`grep '^saft' /etc/inetd.sec`" = "" ]; then +- echo >> /etc/inetd.sec +- echo "saft allow" >> /etc/inetd.sec +- fi +-fi +- +-if [ -f /etc/profile ]; then +- if [ "`grep check_sendfile /etc/profile`" = "" ]; then +- echo "adding check_sendfile to /etc/profile" +- echo >>/etc/profile +- echo test -x $BINDIR/check_sendfile && $BINDIR/check_sendfile >>/etc/profile +- fi +-fi +-if [ -f /etc/csh.login ]; then +- if [ "`grep check_sendfile /etc/csh.login`" = "" ]; then +- echo "adding check_sendfile to /etc/csh.login" +- echo >>/etc/csh.login +- echo test -x $BINDIR/check_sendfile && $BINDIR/check_sendfile >>/etc/profile +- fi +-fi +- + if [ ! -d "$SPOOL/OUTGOING" ]; then + echo "creating $SPOOL" + mkdir_recursive $SPOOL/OUTGOING +@@ -303,9 +254,3 @@ + echo "This will start an outgoing spooling sendfile daemon on boot time" + echo "which processes any old files in the outgoing spool." + echo +- +-if [ "$RESTART" = true ]; then +- echo +- echo "please restart now your inetd ( or simply reboot :-) )" +- echo +-fi -- cgit v1.2.3