diff options
| author | 2026-04-21 01:47:08 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:47:08 +0100 | |
| commit | cd0071297b904028024fcd7a7035516d7d2942de (patch) | |
| tree | 0cd7b6e499deb378edb6d904ce6317e0002bb967 /bootstrap.sh | |
| parent | 8ea24d187be75a31700e118da494e2678ad7e5b9 (diff) | |
| download | dotfiles-master.tar.gz dotfiles-master.tar.bz2 dotfiles-master.zip | |
- bootstrap.sh: the trailing backslash in the efibootmgr example is
literal text shown to the user, not shell line continuation.
Disable SC1003 with an inline directive and switch back to single
quotes so the backslash renders as-is.
- wifi-status.sh: reformat with shfmt -i 2 -ci -s.
Diffstat (limited to 'bootstrap.sh')
| -rwxr-xr-x | bootstrap.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index dbc49a9..65a9343 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -91,7 +91,8 @@ if [ -d /sys/firmware/efi ]; then warn 'no Arch Linux EFI boot entry found' warn 'after first kernel install, run: sudo mkinitcpio -P' warn 'then register the UKI with efibootmgr, for example:' - warn " sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 \\" + # shellcheck disable=SC1003 # backslash is literal text shown to the user + warn ' sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 \' warn " --label 'Arch UKI' --loader '\\EFI\\Linux\\arch-linux.efi'" fi fi |
