aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
blob: e33226eb5f09db66ce62cca66daddedf2203808f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# /etc/rc.multi
#

. /etc/rc.conf
. /etc/rc.d/functions

# Start daemons
for daemon in "${DAEMONS[@]}"; do
	if [[ `echo $daemon | grep '^[^\!]' | wc -l` -eq 1 ]]; then
		/etc/rc.d/$daemon start
	fi
done

if [ -x /etc/rc.local ]; then
	/etc/rc.local
fi

# End of file