mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
29 lines
501 B
Bash
Executable file
29 lines
501 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# /etc/rc.multi
|
|
#
|
|
|
|
. /etc/rc.conf
|
|
. /etc/rc.d/functions
|
|
|
|
run_hook multi_start
|
|
|
|
# Load sysctl variables if sysctl.conf is present
|
|
[[ -r /etc/sysctl.conf ]] && sysctl -q -p &>/dev/null
|
|
|
|
# Start daemons
|
|
for daemon in "${DAEMONS[@]}"; do
|
|
case ${daemon:0:1} in
|
|
'!') continue;; # Skip this daemon.
|
|
'@') start_daemon_bkgd "${daemon#@}";;
|
|
*) start_daemon "$daemon";;
|
|
esac
|
|
done
|
|
|
|
[[ -x /etc/rc.local ]] && /etc/rc.local
|
|
|
|
run_hook multi_end
|
|
|
|
bootlogd_stop
|
|
|
|
# vim: set ts=2 sw=2 noet:
|