Skip to content

Commit

Permalink
Revert "mxgrub: Put superuser and password line in variables"
Browse files Browse the repository at this point in the history
This reverts commit 16866bd.
  • Loading branch information
pmenzel committed Dec 3, 2019
1 parent a5c137a commit df0b50e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mxgrub/mxgrub
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,6 @@ sub scan_mariux {
}

our $KERNEL_PARAMETER="ro crashkernel=256M console=ttyS1,115200n8 console=tty0 init=/bin/systemd audit=0";
our $SUPERUSERS_LINE='set superusers="root"';
our $PASSWORD_LINE="password_pbkdf2 root grub.pbkdf2.sha512.10000.A1168F03CC3CD47F79848E949584EA624FF531B53611F61218DC5BAD760E767063A96E6A5CE6B3506BAC28C5A2F9A7D491BDA770CC233BC9F464F33F8524FC79.EE4EF2EB7B2B8C2DD313300396179F5484CAA011D7CBF2A3FF886A372A6FF2DBC3B1AE59E05687B294D4B8F4674DA55CCE18EDBEB2635E4B6F2BE7C4EBC8916A";

sub update_grub_cfg {
my $kernellist='';
Expand All @@ -258,8 +256,8 @@ sub update_grub_cfg {
set timeout=5
$SUPERUSERS_LINE
$PASSWORD_LINE
set superusers="root"
password_pbkdf2 root grub.pbkdf2.sha512.10000.A1168F03CC3CD47F79848E949584EA624FF531B53611F61218DC5BAD760E767063A96E6A5CE6B3506BAC28C5A2F9A7D491BDA770CC233BC9F464F33F8524FC79.EE4EF2EB7B2B8C2DD313300396179F5484CAA011D7CBF2A3FF886A372A6FF2DBC3B1AE59E05687B294D4B8F4674DA55CCE18EDBEB2635E4B6F2BE7C4EBC8916A
set default="$MARIUX_DEFAULT"
load_env
Expand Down

0 comments on commit df0b50e

Please sign in to comment.