summaryrefslogtreecommitdiffstats
path: root/dracut
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-09-16 13:20:17 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-09-16 13:20:17 +0200
commite9f347952a412221fa934760710fcf3cfb411d2c (patch)
tree3fadd436a680ed554af6d43b0922aad86310eb45 /dracut
parent7403cc9c7c1675ab272e5a6dc64b0e3e4dbe7e47 (diff)
downloadmkinitcpio-ykfde-e9f347952a412221fa934760710fcf3cfb411d2c.tar.gz
mkinitcpio-ykfde-e9f347952a412221fa934760710fcf3cfb411d2c.tar.zst
dracut/module-setup.sh: replace deprecated `egrep` with `grep -E`
Diffstat (limited to 'dracut')
-rwxr-xr-xdracut/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
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