1 1.29 hubertf # $NetBSD: rc.local,v 1.29 2000/10/07 00:22:44 hubertf Exp $ 2 1.20 perry # originally from: @(#)rc.local 8.3 (Berkeley) 4/28/94 3 1.1 cgd # 4 1.20 perry # This file is (nearly) the last thing invoked by /etc/rc during a 5 1.26 lukem # normal boot, via /etc/rc.d/local. 6 1.26 lukem # 7 1.20 perry # It is intended to be edited locally to add site-specific boot-time 8 1.20 perry # actions, such as starting locally installed daemons. 9 1.1 cgd # 10 1.26 lukem # An alternative option is to create site-specific /etc/rc.d scripts. 11 1.26 lukem # 12 1.13 cgd 13 1.1 cgd echo -n 'starting local daemons:' 14 1.1 cgd 15 1.26 lukem # Add your local daemons here. 16 1.26 lukem # 17 1.21 cjs 18 1.29 hubertf #if [ -f /usr/pkg/etc/rc.d/apache ]; then 19 1.29 hubertf # /usr/pkg/etc/rc.d/apache start 20 1.22 veego #fi 21 1.1 cgd 22 1.1 cgd echo '.' 23