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 ...@@ -17,12 +17,8 @@ if ! grep -q "$BIN" "$CFG"; then
done done
fi fi
EXTLINUXCFG=/boot/extlinux/extlinux.conf for c in /boot/extlinux/extlinux.conf /etc/sysconfig/grub2; do
if [ -f "$EXTLINUXCFG" ]; then if [ -f "$c" ]; then
sed -i "s/ quiet / /g;s/ quiet'/'/" "$EXTLINUXCFG" sed -i "s/ quiet / /g;s/ quiet'/'/" "$c"
fi fi
done
GRUBCFG=/etc/sysconfig/grub2
if [ -f "$GRUBCFG" ]; then
sed -i "s/ quiet / /g;s/ quiet'/'/" "$GRUBCFG"
fi
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