wok-next rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 6ef8d7e265d4 |
children | 9616e3b57045 |
files | efivar/receipt |
line diff
1.1 --- a/efivar/receipt Tue Sep 01 10:09:15 2020 +0100 1.2 +++ b/efivar/receipt Tue Sep 01 10:31:46 2020 +0000 1.3 @@ -26,7 +26,7 @@ 1.4 [ -d /sys/firmware/efi/efivars ] && mount -t efivarfs none /sys/firmware/efi/efivars 1.5 # and after reboot: 1.6 # insert mount into /etc/init.d/local.sh 1.7 - grep efivarfs $1/etc/init.d/local.sh || 1.8 + grep -qs efivarfs $1/etc/init.d/local.sh || 1.9 echo -e "#inserted by post_install of evifar up to END-efivar: 1.10 [ -d /sys/firmware/efi/efivars ] && mount -t efivarfs none /sys/firmware/efi/efivars 1.11 #END-efivar" >>$1/etc/init.d/local.sh