Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.0 KiB

27 years ago
27 years ago
  1. # $OpenBSD: rc.local,v 1.27 1999/09/28 07:19:41 deraadt Exp $
  2. # site-specific startup actions, daemons, and other things which
  3. # can be done AFTER your system goes into securemode. For actions
  4. # which should be done BEFORE your system has gone into securemode
  5. # please see /etc/rc.securelevel
  6. # site-specific startup actions, daemons which can be run
  7. # Add your local changes additions to this file
  8. echo -n 'starting local daemons:'
  9. if [ -x /usr/local/sbin/cfsd ]; then
  10. if ps auxc | grep -q '^ *root .* mountd$'; then
  11. echo -n ' cfsd'; /usr/local/sbin/cfsd >/dev/null 2>&1
  12. mount -o port=3049,nfsv2,intr localhost:/null /crypt
  13. else
  14. echo -n ' cfsd (failed, no mountd running)'
  15. fi
  16. fi
  17. if [ -x /usr/local/sbin/snmpd ]; then
  18. echo -n ' snmpd'; /usr/local/sbin/snmpd
  19. fi
  20. # set pcvt screen saver time to 5min (see scon(1) for more options)
  21. #if test -x /usr/sbin/ispcvt -a -x /usr/sbin/scon && /usr/sbin/ispcvt; then
  22. # echo -n ' scon'; /usr/sbin/scon -t 300
  23. #fi
  24. echo '.'
  25. # Netatalk stuff
  26. if [ -f /etc/netatalk/rc.atalk ]; then
  27. . /etc/netatalk/rc.atalk
  28. fi