~carbslinux/repository

ref: 21fc7560eeaeb7ff0d25ef210570faf47c09357f repository/core/sinit/files/sinit-launch-services.boot -rw-r--r-- 330 bytes
21fc7560Cem Keylan dejavu-fonts-ttf: add package to xorg 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# we are going to start runit and getty here

sinit_run_getty() {
	for getty in 1 2 3 4 5 6; do
		ubase-box respawn /sbin/getty 38400 tty${getty} 2>&1 &
	done
}

sinit_runit() {
	ubase-box respawn /usr/bin/runsvdir -P /var/service &
}

[ "$SINIT_ENABLE_GETTY" = 1 ] && sinit_run_getty
[ "$SINIT_ENABLE_RUNIT" = 1 ] && sinit_runit