From 47ec1fdafba4dc162f55415b03072521f06ee125 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Sat, 10 Jun 2023 02:26:38 +0900 Subject: [PATCH] Update alpineInit.sh --- Linux_reinstall/Alpine/alpineInit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Linux_reinstall/Alpine/alpineInit.sh b/Linux_reinstall/Alpine/alpineInit.sh index 8fd332c..4266d50 100644 --- a/Linux_reinstall/Alpine/alpineInit.sh +++ b/Linux_reinstall/Alpine/alpineInit.sh @@ -16,7 +16,7 @@ apk add bash bash bash-doc bash-completion coreutils sed confFile="/root/alpine.config" # Read configs from initial file. -AllDisks=$(grep "AllDisks" $confFile | awk '{print $2}') +IncDisk=$(grep "IncDisk" $confFile | awk '{print $2}') LinuxMirror=$(grep "LinuxMirror" $confFile | awk '{print $2}') alpineVer=$(grep "alpineVer" $confFile | awk '{print $2}') TimeZone=$(grep "TimeZone" $confFile | awk '{print $2}') @@ -120,7 +120,7 @@ echo "" >> /etc/motd # Install to hard drive. export BOOTLOADER="grub" -printf 'y' | setup-disk -m sys $kernelOpt -s 0 $AllDisks +printf 'y' | setup-disk -m sys $kernelOpt -s 0 $IncDisk # Reboot, the system in the memory will all be written to the hard drive. exec reboot