Re: Switch boot entry by power-on reason

2024-07-29 Thread Thomas Schmitt
Hi, David and Thomas collaboratingly wrote: > > smbios --type 1 --get-byte 24 --set result hede wrote: > Many thanks, it works :-) \o/\o/ So the community and its resources are not that useless \o/\o/ Have a nice day :) Thomas

Re: Switch boot entry by power-on reason

2024-07-29 Thread hede
Hello David and Thomas, On Sun, 21 Jul 2024 10:45:59 + David wrote: > On Sun, 21 Jul 2024 at 09:46, Thomas Schmitt wrote: > > ... > So your manually written grub.cfg. would contain something like the below > lines > in addition to whatever other content you need to boot the machine. > >

Re: Switch boot entry by power-on reason

2024-07-21 Thread David
On Sun, 21 Jul 2024 at 15:27, David Wright wrote: > On Sun 21 Jul 2024 at 10:45:59 (+), David wrote: > > On Sun, 21 Jul 2024 at 09:46, Thomas Schmitt wrote: > > > hede wrote: > > Don't be discouraged by all the junk that the autogenerated grub.cfg > > contains these days, most of it is not n

Re: Switch boot entry by power-on reason

2024-07-21 Thread David Wright
On Sun 21 Jul 2024 at 10:45:59 (+), David wrote: > On Sun, 21 Jul 2024 at 09:46, Thomas Schmitt wrote: > > hede wrote: > > > > Technically it should be possible, as dmidecode can show the reason: > > > Handle 0x0001, DMI type 1, 27 bytes > > > System Information > > > ... > > > Wake-u

Re: Switch boot entry by power-on reason

2024-07-21 Thread David
On Sun, 21 Jul 2024 at 09:46, Thomas Schmitt wrote: > hede wrote: > > Technically it should be possible, as dmidecode can show the reason: > > Handle 0x0001, DMI type 1, 27 bytes > > System Information > > ... > > Wake-up Type: LAN Remote > > vs. > > Wake-up Type: Power Switch > >

Re: Switch boot entry by power-on reason

2024-07-21 Thread Thomas Schmitt
Hi, hede wrote: > Technically it should be possible, as dmidecode can show the reason: > Handle 0x0001, DMI type 1, 27 bytes > System Information > ... > Wake-up Type: LAN Remote > vs. > Wake-up Type: Power Switch The statement in man dmidecode "DMI (some say SMBIOS)" caused me to