1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

i3/powermenu: don't assume systemd-sysvcompat is installed

This commit is contained in:
Joe Groocock 2017-10-03 09:43:51 +01:00
parent b6144f8019
commit 3ce722f60a
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -11,7 +11,7 @@ case $option in
windows)
windows=`efibootmgr | grep -Po -m1 'Boot\K(\d{4}).*Windows.*' | head -c4`
sudo efibootmgr -n $windows
reboot;;
systemctl reboot;;
esac
exit 0