# HG changeset patch # User Pascal Bellard # Date 1598955924 0 # Node ID 53e5c9f49c0f1c84b2738a2d4852c87f922036fc # Parent abf3670a5a526505b892be058fd0e8603d5cc532 efivar: typo in post_install diff -r abf3670a5a52 -r 53e5c9f49c0f efivar/receipt --- a/efivar/receipt Tue Sep 01 07:56:48 2020 +0100 +++ b/efivar/receipt Tue Sep 01 10:25:24 2020 +0000 @@ -43,7 +43,7 @@ [ -d /sys/firmware/efi/efivars ] && mount -t efivarfs none /sys/firmware/efi/efivars # and after reboot: # insert mount into /etc/init.d/local.sh - grep efivarfs $1/etc/init.d/local.sh || + grep -qs efivarfs $1/etc/init.d/local.sh || echo -e "#inserted by post_install of evifar up to END-efivar: [ -d /sys/firmware/efi/efivars ] && mount -t efivarfs none /sys/firmware/efi/efivars #END-efivar" >>$1/etc/init.d/local.sh