Added /etc/rpc for librpc support
fixed crontab so it works (oops) fixed /etc/daily whatis.db support
This commit is contained in:
parent
f1814fe4f8
commit
9e697c360d
|
@ -8,7 +8,7 @@ BIN1= aliases csh.cshrc csh.login csh.logout daily dm.conf \
|
|||
ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \
|
||||
man.conf monthly motd myname netstart phones printcap protocols rc \
|
||||
rc.local remote security services shells syslog.conf ttys weekly \
|
||||
etc.${MACHINE}/disktab
|
||||
etc.${MACHINE}/disktab rpc
|
||||
|
||||
# -rw-rw-rw-
|
||||
BIN2= motd
|
||||
|
|
|
@ -7,6 +7,6 @@ HOME=/var/log
|
|||
#minute hour mday month wday command
|
||||
#
|
||||
#0/15 * * * * /usr/libexec/atrun
|
||||
0 2 * * * /etc/daily > /var/log/daily.out 2>&1
|
||||
30 3 * * 6 /etc/weekly > /var/log/weekly.out 2>&1
|
||||
30 5 1 * * /etc/monthly > /var/log/monthly.out 2>&1
|
||||
0 2 * * * sh /etc/daily
|
||||
30 3 * * 6 sh /etc/weekly
|
||||
30 5 1 * * sh /etc/monthly
|
||||
|
|
13
etc/daily
13
etc/daily
|
@ -87,12 +87,15 @@ echo ""
|
|||
echo "Running calendar:"
|
||||
calendar -a
|
||||
|
||||
if [ -d /usr/share/man -a -f /usr/share/man/makewhatis.sed ]; then
|
||||
echo ""
|
||||
echo "Updating 'whatis' database:"
|
||||
cd /usr/share/man
|
||||
cat cat?/*.0 cat?/`machine`/*.0 | sed -f /usr/share/man/makewhatis.sed > /usr/share/man/whatis.db
|
||||
cd /
|
||||
echo "Making 'whatis' database:"
|
||||
if [ -d /usr/share/man -a -f /usr/share/man/makewhatis.sed ]; then
|
||||
for file in `find /usr/share/man -type f -name '*.0' -print`; do \
|
||||
sed -n -f /usr/share/man/makewhatis.sed $file; \
|
||||
done | sort -u > /tmp/whatis.db.$$
|
||||
cp /tmp/whatis.db.$$ /usr/share/man/whatis.db
|
||||
chmod 644 /usr/share/man/whatis.db
|
||||
rm -f /tmp/whatis.db.$$
|
||||
fi
|
||||
|
||||
echo ""
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
#
|
||||
# rpc 88/08/01 4.0 RPCSRC; from 1.12 88/02/07 SMI
|
||||
#
|
||||
portmapper 100000 portmap sunrpc
|
||||
rstatd 100001 rstat rstat_svc rup perfmeter
|
||||
rusersd 100002 rusers
|
||||
nfs 100003 nfsprog
|
||||
ypserv 100004 ypprog
|
||||
mountd 100005 mount showmount
|
||||
ypbind 100007
|
||||
walld 100008 rwall shutdown
|
||||
yppasswdd 100009 yppasswd
|
||||
etherstatd 100010 etherstat
|
||||
rquotad 100011 rquotaprog quota rquota
|
||||
sprayd 100012 spray
|
||||
3270_mapper 100013
|
||||
rje_mapper 100014
|
||||
selection_svc 100015 selnsvc
|
||||
database_svc 100016
|
||||
rexd 100017 rex
|
||||
alis 100018
|
||||
sched 100019
|
||||
llockmgr 100020
|
||||
nlockmgr 100021
|
||||
x25.inr 100022
|
||||
statmon 100023
|
||||
status 100024
|
||||
bootparam 100026
|
||||
ypupdated 100028 ypupdate
|
||||
keyserv 100029 keyserver
|
||||
tfsd 100037
|
||||
nsed 100038
|
||||
nsemntd 100039
|
Loading…
Reference in New Issue