tty: minor cleanup (dedup)
Fixes: cce781d46b5e8c37034018a363ffffa5e48bf93e
This commit is contained in:
parent
4c9f28b89b
commit
b1fbb6337f
@ -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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user