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


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