aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
blob: 9b103e9fd58e62b62d23d1fbda20e8bc4c99efc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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

# Mount any leftover (nfs,smbfs,etc) mounts
/bin/mount -a

# End of file