Commit b1fbb633 authored by Michael Shigorin's avatar Michael Shigorin Committed by Anton Midyukov

tty: minor cleanup (dedup)

Fixes: cce781d4
parent 4c9f28b8
......@@ -17,12 +17,8 @@ if ! grep -q "$BIN" "$CFG"; then
done
fi
EXTLINUXCFG=/boot/extlinux/extlinux.conf
if [ -f "$EXTLINUXCFG" ]; then
sed -i "s/ quiet / /g;s/ quiet'/'/" "$EXTLINUXCFG"
fi
GRUBCFG=/etc/sysconfig/grub2
if [ -f "$GRUBCFG" ]; then
sed -i "s/ quiet / /g;s/ quiet'/'/" "$GRUBCFG"
fi
for c in /boot/extlinux/extlinux.conf /etc/sysconfig/grub2; do
if [ -f "$c" ]; then
sed -i "s/ quiet / /g;s/ quiet'/'/" "$c"
fi
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment