Rename config file

This commit is contained in:
oddlama 2021-04-20 00:53:38 +02:00
parent a531945dbb
commit 7c54bac857
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
2 changed files with 4 additions and 5 deletions

View File

@ -37,7 +37,7 @@ source "$GENTOO_INSTALL_REPO_DIR/scripts/main.sh"
trap 'kill "$GENTOO_INSTALL_REPO_SCRIPT_PID"' INT trap 'kill "$GENTOO_INSTALL_REPO_SCRIPT_PID"' INT
ACTION="" ACTION=""
CONFIG="$GENTOO_INSTALL_REPO_DIR/config.sh" CONFIG="$GENTOO_INSTALL_REPO_DIR/gentoo.conf"
while [[ $# -gt 0 ]]; do while [[ $# -gt 0 ]]; do
case "$1" in case "$1" in
@ -45,14 +45,13 @@ while [[ $# -gt 0 ]]; do
echo "Usage: $0 [opts]... <action>" echo "Usage: $0 [opts]... <action>"
echo "Performs a minimal gentoo installation. See https://github.com/oddlama/gentoo-install" echo "Performs a minimal gentoo installation. See https://github.com/oddlama/gentoo-install"
echo "for more information." echo "for more information."
echo " location (config.sh)" echo ""
echo "Options:" echo "Options:"
echo " -c, --config <CONFIG> Use the given configuration file instead of the default" echo " -c, --config <CONFIG> Use the given configuration file instead of the default"
echo " location (config.sh)" echo " location (gentoo.conf)"
echo "" echo ""
echo "Actions:" echo "Actions:"
echo " -i, --install Installs gentoo using the configuration" echo " -i, --install Installs gentoo as configured"
echo " provided in config.sh"
echo " -R, --chroot Chroot into an existing system. The root filesystem" echo " -R, --chroot Chroot into an existing system. The root filesystem"
echo " is mounted automatically based on the partition" echo " is mounted automatically based on the partition"
echo " UUIDs (generated when installing for the first time)," echo " UUIDs (generated when installing for the first time),"