fedora-sysv / initscripts

📜 Scripts to bring up network interfaces and legacy utilities in Fedora.
GNU General Public License v2.0
46 stars 51 forks source link

rc.d/functions: replace grep's --quiet with -q #340

Closed chaitu236 closed 4 years ago

chaitu236 commented 4 years ago

Some versions of grep (like busybox's) do not support --quiet. So use -q instead like in the rest of the file.

Signed-off-by: Chaitanya Vadrevu chaitanya.vadrevu@ni.com

lnykryn commented 4 years ago

What is the real use-case here?

chaitu236 commented 4 years ago

We at NI use this file in our Linux RT distribution. The version of grub we use does not support "--quiet" but does support "-q". Hence the change. FYI all other grub invocations in this file already use "-q" so this change is only bringing parity.