]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut-systemd/rootfs-generator.sh: use strstr rather than grep
authorHarald Hoyer <harald@redhat.com>
Tue, 21 Apr 2015 14:35:34 +0000 (16:35 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 21 Apr 2015 14:35:34 +0000 (16:35 +0200)
commitd3d52b20e9374a6553c7a6cbe9ff0a9e08df10f9
tree1e27bcf8ef893dba1192e09d4f2bca7df2a5be33
parent23446ef1e0a6eda79049a655cb1645691b129645
dracut-systemd/rootfs-generator.sh: use strstr rather than grep

grep on /proc/cmdline is overkill and would add a requirement for grep
modules.d/98dracut-systemd/rootfs-generator.sh