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.

31 lines
1021 B

  1. # $OpenBSD: rc.local,v 1.13 1997/07/28 07:44:40 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 [ -f /usr/local/etc/httpd/httpd ]; then
  10. # echo -n ' httpd'; /usr/local/etc/httpd/httpd
  11. #fi
  12. #if [ -f /usr/local/sbin/sshd ]; then
  13. # echo -n ' sshd'; /usr/local/sbin/sshd
  14. #fi
  15. # Set pcvt screen saver time to 5min (see scon(1) for more options)
  16. #if test -x /usr/sbin/ispcvt -a -x /usr/sbin/scon && /usr/sbin/ispcvt; then
  17. # echo -n ' scon'; /usr/sbin/scon -t 300
  18. #fi
  19. # Alternatively, xdm may be started in /etc/ttys.
  20. #if [ -x /usr/X11R6/bin/xdm ]; then
  21. # echo -n ' xdm'; /usr/X11R6/bin/xdm
  22. #fi
  23. echo '.'