minor update
This commit is contained in:
parent
c3acfbc919
commit
345dfc89b8
|
|
@ -1,9 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
|
|
||||||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
||||||
|
|
||||||
if [[ -f "$SCRIPT_DIR"/setup.conf ]]; then
|
if [[ -f $(pwd)/setup.conf ]]; then
|
||||||
source setup.conf
|
source setup.conf
|
||||||
else
|
else
|
||||||
echo "missing file: setup.conf"
|
echo "missing file: setup.conf"
|
||||||
|
|
@ -220,7 +219,7 @@ mount -t vfat -L EFIBOOT /mnt/boot/
|
||||||
# # The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the system itself.
|
# # The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the system itself.
|
||||||
# echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation.
|
# echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation.
|
||||||
# fi
|
# fi
|
||||||
# echo -ne "
|
echo -ne "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
SYSTEM READY FOR 1-setup.sh
|
SYSTEM READY FOR 1-setup.sh
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue