Annotation of src/etc/rc.local, Revision 1.8
1.8 ! graichen 1: # $OpenBSD: rc.local,v 1.7 1996/09/21 07:23:55 deraadt Exp $
1.4 deraadt 2:
1.1 deraadt 3: # site-specific startup actions, daemons
1.4 deraadt 4: # Add your local changes additions to this file
1.1 deraadt 5:
1.4 deraadt 6: echo -n 'starting local daemons:'
1.1 deraadt 7:
1.4 deraadt 8: #if [ -f /usr/local/etc/httpd/http ]; then
9: # echo -n ' httpd'; /usr/local/etc/httpd/httpd
10: #fi
1.1 deraadt 11:
1.4 deraadt 12: #if [ -f /usr/local/sbin/sshd ]; then
13: # echo -n ' sshd'; /usr/local/sbin/sshd
1.5 deraadt 14: #fi
15:
1.8 ! graichen 16: #
! 17: # you may also look at /etc/ttys on some architectures
! 18: # (i386 for example) - there is an commented out example
! 19: # how to start xdm via init
! 20: #
1.5 deraadt 21: #if [ -x /usr/X11R6/bin/xdm ]; then
22: # echo -n ' xdm'; /usr/X11R6/bin/xdm
1.6 deraadt 23: #fi
24:
25: #if [ -x /usr/local/bin/xntpd ]; then
1.7 deraadt 26: # /usr/local/sbin/tickadj -Aq
27: # echo -n ' xntpd'; /usr/local/sbin/xntpd
1.4 deraadt 28: #fi
1.1 deraadt 29:
30: echo '.'