aboutsummaryrefslogtreecommitdiff
blob: 8ec882a8be41713e07e6a7b42508604bf23d54cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

# EXPORT IMPORTANT VARIABLES BEFORE GOING ON
source /etc/profile && export PS1="( 'Configuration Phase' ) $PS1"
CHROOT_DIR="var/tmp/ctworkdir/"
export CHROOT_DIR
PATH=${PATH}:${CHDIR}
export PATH
if source "${CHROOT_DIR}/cchroot_functions"; then
	echo "Exporting chroot functions"
else
	echo "Failed to export chroot functions, aborting"
	exit 1
fi

_ctflag_chroot="revert"
export _ctflag_chroot

# REVERT CONFIGURATION FILES
_configure_system

# REVERT RUNLEVELS
_runlevel_configuration