summaryrefslogtreecommitdiff
path: root/rc.multi
blob: 5e803b13daec33df333f5a8f3b057983f0f5a842 (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