Browse Source

to those who wants snmpd

OPENBSD_2_3
mickey 27 years ago
parent
commit
0462e1202c
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/etc/rc.local

+ 5
- 1
src/etc/rc.local View File

@ -1,4 +1,4 @@
# $OpenBSD: rc.local,v 1.16 1998/01/11 02:02:08 angelos Exp $
# $OpenBSD: rc.local,v 1.17 1998/01/12 00:32:45 mickey Exp $
# site-specific startup actions, daemons, and other things which # site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode. For actions # can be done AFTER your system goes into securemode. For actions
@ -23,6 +23,10 @@ if [ -f /usr/local/sbin/cfsd ]; then
mount -o port=3049,nfsv2,intr localhost:/null /crypt mount -o port=3049,nfsv2,intr localhost:/null /crypt
fi fi
if [ -f /usr/local/sbin/snmpd ]; then
echo -n ' snmpd'; /usr/local/sbin/snmpd
fi
# set pcvt screen saver time to 5min (see scon(1) for more options) # set pcvt screen saver time to 5min (see scon(1) for more options)
#if test -x /usr/sbin/ispcvt -a -x /usr/sbin/scon && /usr/sbin/ispcvt; then #if test -x /usr/sbin/ispcvt -a -x /usr/sbin/scon && /usr/sbin/ispcvt; then
# echo -n ' scon'; /usr/sbin/scon -t 300 # echo -n ' scon'; /usr/sbin/scon -t 300


Loading…
Cancel
Save