summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/Advanced/60-orig-init
blob: ad9f2c78e14ec1a40cf4a49579042b62aae5f577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# !/bin/sh
M_TITLE="Boot original INIT"

exit 0

run_module() {
	
	test -e /etc/altboot.func && . /etc/altboot.func || die "ERROR: /etc/altboot.func not found. Check your installation!"
	
	echo "altboot: Using real init [$REAL_INIT] [$INIT_RUNLEVEL] *" >/dev/tty1
	exec $REAL_INIT $INIT_RUNLEVEL
	exit 0	
	
}

case "$1" in
title)	echo "$M_TITLE";;
run)	run_module;;
esac