Update information

This commit is contained in:
HikariKnight 2022-03-12 15:39:09 +01:00
parent 901096604c
commit 371fdb3edd
No known key found for this signature in database
GPG key ID: E8B239063B022F5A

View file

@ -55,10 +55,10 @@ By proceeding, a backup of your system's version of these files will be placed i
$SCRIPTDIR/backup $SCRIPTDIR/backup
unless a backup already exist. unless a backup already exist.
Then the files above will be copied to your system followed by running \"update-initramfs -u\" Then the files above will be copied to your system followed by running followed by updating your
to build your new initrd image (all of this will require sudo permissions!)" 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 case "${YESNO}" in
[Yy]*) [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"
;; ;;
*) *)
exec "$SCRIPTDIR/lib/set_CMDLINE.sh" exit 1
;; ;;
esac esac
} }
@ -75,7 +75,7 @@ to build your new initrd image (all of this will require sudo permissions!)"
function main () { function main () {
SCRIPTDIR=$(dirname "$(realpath "$0")" | perl -pe "s/\/\.\.\/lib//" | perl -pe "s/\/lib$//") SCRIPTDIR=$(dirname "$(realpath "$0")" | perl -pe "s/\/\.\.\/lib//" | perl -pe "s/\/lib$//")
apply_CHANGES apply_CHANGES
} }