From e9f347952a412221fa934760710fcf3cfb411d2c Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 16 Sep 2022 13:20:17 +0200 Subject: dracut/module-setup.sh: replace deprecated `egrep` with `grep -E` --- dracut/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh index 0bdde6f..901cd2d 100755 --- a/dracut/module-setup.sh +++ b/dracut/module-setup.sh @@ -20,7 +20,7 @@ install() { ln_r $systemdsystemunitdir/ykfde-worker.service $systemdsystemunitdir/sysinit.target.wants/ykfde-worker.service # this is required for second factor - if egrep -qi 'second factor = (yes|true|1)' /etc/ykfde.conf; then + if grep -E -qi 'second factor = (yes|true|1)' /etc/ykfde.conf; then inst_simple /usr/lib/systemd/system/cryptsetup-pre.target inst_simple /usr/lib/systemd/system/ykfde-2f.service ln_r $systemdsystemunitdir/ykfde-2f.service $systemdsystemunitdir/sysinit.target.wants/ykfde-2f.service -- cgit v1.2.3-70-g09d2