mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
--- develop/install.orig Sat Jul 11 14:02:38 1998
|
|
+++ develop/install Sun Aug 16 17:41:15 1998
|
|
@@ -80,7 +80,6 @@
|
|
make_man fetchfile 7 $manmisc
|
|
make_man sendfiled 8 $manadmin
|
|
cp doc/wlock.1 doc/utf7encode.1 $MANDIR/man1
|
|
- (cd $MANDIR/man1; ln -s utf7encode.1 utf7decode.1 2>/dev/null)
|
|
}
|
|
|
|
SYSTEM=$1
|
|
@@ -164,13 +163,6 @@
|
|
|
|
EOD
|
|
echo 'If you are satisfied with these defaults, then type "ok" now:'
|
|
-read answer
|
|
-if [ "$answer" != ok ]; then
|
|
- echo
|
|
- echo "You can install sendfile manually, too. Please type: more doc/README"
|
|
- echo
|
|
- exit
|
|
-fi
|
|
|
|
umask 022
|
|
|
|
@@ -261,7 +253,6 @@
|
|
echo "saft 487/tcp # simple asynchronous file transfer" | niload services .
|
|
else
|
|
echo "configuring $SERVICES"
|
|
- echo "#" >>$SERVICES
|
|
echo "saft 487/tcp # simple asynchronous file transfer" >>$SERVICES
|
|
fi
|
|
fi
|
|
@@ -274,8 +265,6 @@
|
|
fi
|
|
RESTART=true
|
|
echo "configuring $INETDCONF"
|
|
- echo "#" >>$INETDCONF
|
|
- echo "# simple asynchronous file transfer" >>$INETDCONF
|
|
echo "saft stream tcp nowait root $SFD" >>$INETDCONF
|
|
fi
|
|
|
|
@@ -339,15 +328,11 @@
|
|
EOD
|
|
fi
|
|
|
|
-echo
|
|
-echo "You may want to add the following line to your system bootup script:"
|
|
-echo " $SERVERDIR/sendfiled -Q"
|
|
-echo "This will start an outgoing spooling sendfile daemon on boot time"
|
|
-echo "which processes any old files in the outgoing spool."
|
|
-echo
|
|
+echo "[ -x $SERVERDIR/sendfiled ] && $SERVERDIR/sendfiled -Q && echo -n ' sendfiled'">${PREFIX}/etc/rc.d/sendfiled.sh
|
|
+chmod a+x ${PREFIX}/etc/rc.d/sendfiled.sh
|
|
|
|
if [ "$RESTART" = true ]; then
|
|
- echo
|
|
- echo "please restart now your inetd ( or simply reboot :-) )"
|
|
- echo
|
|
+ kill -HUP `cat /var/run/inetd.pid`
|
|
+ [ -f $SERVERDIR/sendfiled.old ] && rm -f $SERVERDIR/sendfiled.old
|
|
fi
|
|
+echo done.
|