From 371fdb3edd7b3d3b04809cf142c31e863ee4f275 Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Sat, 12 Mar 2022 15:39:09 +0100 Subject: [PATCH] Update information --- lib/apply_CHANGES.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/apply_CHANGES.sh b/lib/apply_CHANGES.sh index 92502a3..5bab923 100755 --- a/lib/apply_CHANGES.sh +++ b/lib/apply_CHANGES.sh @@ -55,10 +55,10 @@ By proceeding, a backup of your system's version of these files will be placed i $SCRIPTDIR/backup unless a backup already exist. -Then the files above will be copied to your system followed by running \"update-initramfs -u\" -to build your new initrd image (all of this will require sudo permissions!)" +Then the files above will be copied to your system followed by running followed by updating your +initramfs and then attempt adding new kernel arguments to your bootloader." - read -p "Do you want to proceed with the installation of the files? (no=skip) [Y/n]: " YESNO + read -p "Do you want to proceed with the installation of the files? (no=quit) [Y/n]: " YESNO case "${YESNO}" in [Yy]*) @@ -67,7 +67,7 @@ to build your new initrd image (all of this will require sudo permissions!)" exec "$SCRIPTDIR/lib/set_CMDLINE.sh" ;; *) - exec "$SCRIPTDIR/lib/set_CMDLINE.sh" + exit 1 ;; esac } @@ -75,7 +75,7 @@ to build your new initrd image (all of this will require sudo permissions!)" function main () { SCRIPTDIR=$(dirname "$(realpath "$0")" | perl -pe "s/\/\.\.\/lib//" | perl -pe "s/\/lib$//") - + apply_CHANGES }