1998-02-24 20:28:17 +00:00
|
|
|
bin/check_sendfile
|
1999-02-23 15:25:34 +00:00
|
|
|
bin/ewl
|
1998-03-01 21:51:04 +00:00
|
|
|
bin/fetchfile
|
1998-02-24 20:28:17 +00:00
|
|
|
bin/receive
|
2000-03-09 20:00:41 +00:00
|
|
|
bin/rf
|
1998-02-24 20:28:17 +00:00
|
|
|
bin/sendfile
|
|
|
|
bin/sendmsg
|
2000-03-09 20:00:41 +00:00
|
|
|
bin/sf
|
1998-02-24 20:28:17 +00:00
|
|
|
bin/sf_cleanup
|
1998-03-01 21:51:04 +00:00
|
|
|
bin/sfconf
|
|
|
|
bin/sfdconf
|
2000-03-09 20:00:41 +00:00
|
|
|
bin/sm
|
1998-02-24 20:28:17 +00:00
|
|
|
bin/utf7decode
|
|
|
|
bin/utf7encode
|
1998-03-01 21:51:04 +00:00
|
|
|
bin/wlock
|
|
|
|
etc/rc.d/sendfiled.sh
|
1998-02-24 20:28:17 +00:00
|
|
|
etc/sendfile.cf
|
|
|
|
etc/sendfile.deny
|
1998-03-01 21:51:04 +00:00
|
|
|
sbin/sendfiled
|
1998-02-24 20:28:17 +00:00
|
|
|
@exec mkdir -p /var/spool/sendfile/OUTGOING /var/spool/sendfile/LOG
|
|
|
|
@exec chmod 755 /var/spool/sendfile
|
|
|
|
@exec chmod 1777 /var/spool/sendfile/OUTGOING
|
|
|
|
@exec chmod 700 /var/spool/sendfile/LOG
|
|
|
|
@exec touch /var/spool/sendfile/LOG/in /var/spool/sendfile/LOG/out
|
|
|
|
@exec chmod 600 /var/spool/sendfile/LOG/in /var/spool/sendfile/LOG/out
|
|
|
|
@exec echo -e 'saft\tstream\ttcp\tnowait\troot\t/usr/local/sbin/sendfiled sendfiled' >> /etc/inetd.conf
|
|
|
|
@exec echo -e 'saft\t\t487/tcp\t# simple asynchronous file transfer'>>/etc/services
|
|
|
|
@exec kill -HUP `ps auxw|awk '$11 == "inetd" { print $2 } '`
|
|
|
|
@unexec perl -pi.bak -e '/^saft/ && ($_="")' /etc/inetd.conf
|
|
|
|
@unexec kill -HUP `ps auxw|awk '$11 == "inetd" { print $2 } '`
|
|
|
|
@unexec rm -R /var/spool/sendfile
|