Separate global and OS-specific config
This commit is contained in:
parent
4fe88bba12
commit
d0b055140e
15 changed files with 101 additions and 61 deletions
scripts/Arch/Config/SecureBoot
|
@ -9,8 +9,8 @@ begin
|
|||
|
||||
function configureSW -V dir
|
||||
source "$dir/../../../Common/Scripts/config.fish"
|
||||
set -l label (getConfig valhalla.boot.label)
|
||||
set -l efiDir (getConfig valhalla.boot.efiMountPoint)
|
||||
set -l label (getOSConfig boot.label)
|
||||
set -l efiDir (getOSConfig boot.efiMountPoint)
|
||||
set -l bootNums (efibootmgr | sed "/$label/{ s/^.*Boot\([[:digit:]]\+\)\*.*\$/\1/; p; }; d")
|
||||
|
||||
for bootNum in $bootNums
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue