blob: 2f437eddad6352475515be2f14e56937f01a2f22 (
plain) (
blame)
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
# vim: set ts=4 sw=4 et:
PATH=/usr/bin:/usr/sbin
. /etc/runit/functions
msg "Welcome to Void!\n"
[ -r /etc/rc.conf ] && . /etc/rc.conf
# Start core services: one-time system tasks.
detect_virt
for f in /etc/runit/core-services/*.sh; do
[ -x $f ] && $f
done
dmesg >/var/log/dmesg.log
install -m0 /dev/null /etc/runit/reboot
install -m0 /dev/null /etc/runit/stopit
msg "Initialization complete, running stage 2...\n"
|