wok rev 23929

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:25:24 2020 +0000 (2020-09-01)
parents abf3670a5a52
children 9ec664b95f2f
files efivar/receipt
line diff
     1.1 --- a/efivar/receipt	Tue Sep 01 07:56:48 2020 +0100
     1.2 +++ b/efivar/receipt	Tue Sep 01 10:25:24 2020 +0000
     1.3 @@ -43,7 +43,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