vp-build/templates/initscripts/files/rc.multi
Juan RP ed07259681 Added initscripts-2009.01 template.
This package contains all files required for booting the lsXL
linux system built through xbps.

Currently it uses the NetBSD rc.d(8) system, sysvinit and
modified BSD style scripts modified from Arch linux.

--HG--
extra : convert_revision : 4584be26dd672ba33f9b1d76534a22d4715664ea
2009-03-06 05:17:46 +01:00

22 lines
378 B
Bash
Executable File

#!/bin/sh
#
# This script is called when runlevel 3 (multiuser) is entered.
#
export HOME=/
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
umask 022
. /etc/rc.subr
. /etc/rc.conf
_rc_conf_loaded=true
# Start services
files=$(rcorder -s nostart ${rc_rcorder_flags} /etc/rc.d/*)
for _rc_elem in $files; do
run_rc_script $_rc_elem start
done
[ -x /etc/rc.local ] && /etc/rc.local