added step for sudo efibootmgr
This commit is contained in:
@@ -20,7 +20,11 @@ fi
|
||||
sudo efibootmgr -n "${boot_number}" && reboot
|
||||
```
|
||||
3. Run `sudo chmod +x /usr/local/bin/boot-windows` to make the script executable.
|
||||
4. Optionally create a button in your desktop environment that will run that script when clicked.
|
||||
4. To let `sudo efibootmgr` run without needing a password add the file `/etc/sudoers.d/efibootmgr-config` with the following text: (source: Bazzite)
|
||||
```
|
||||
%wheel ALL=(root) NOPASSWDL /usr/sbin/efibootmgr
|
||||
```
|
||||
5. Optionally create a button in your desktop environment that will run that script when clicked.
|
||||
|
||||
Note: if running this script does work but you have to manually trigger a reboot, you may need to edit the last part of the last line to be `sudo reboot` instead of just `reboot`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user