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.

32 lines
887 B

27 years ago
  1. # $OpenBSD: rc.local,v 1.36 2004/07/06 04:03:41 henning 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. echo '.'
  21. # Netatalk stuff
  22. #if [ -f /etc/netatalk/rc.atalk ]; then
  23. # . /etc/netatalk/rc.atalk
  24. #fi