Test install portion

This commit is contained in:
Thomas Cole 2021-06-30 08:50:34 -04:00
parent 791248abf0
commit 55fdbfa65a

View File

@ -9,7 +9,6 @@ CYAN="\e[36m"
ENDCOLOR="\e[0m"
MACADDRS=(
40:6c:8f:b8:ba:xx
52:54:00:2a:41:b1
1c:69:7a:63:ad:12
1c:69:7a:63:83:e1
@ -36,7 +35,7 @@ prechecks () {
echoc "Running Pre-checks" $GREEN
#Check MAC whitelist
DMAC=$(cat /sys/class/net/enp10s0/address)
DMAC=$(cat /sys/class/net/enp1s0/address)
if [[ " ${MACADDRS[@]} " =~ " $DMAC " ]]; then
echoc " - Matching MAC Address found." $GREEN
@ -81,6 +80,10 @@ partition () {
}
sysinstall () {
pacstrap /mnt
}
######################################################################################
#Check if root