Commit 76024e65 authored by Anton Midyukov's avatar Anton Midyukov

live: fix disable /etc/issue, when rescue live

parent 27e5daf5
......@@ -11,8 +11,8 @@
rpm -q systemd-sysvinit >/dev/null 2>&1 || exit 0
# disable issue "Hello friend, say '$LIVECD_LOGIN' to log in at"
[ ! -f /etc/sysconfig/livecd-user ] ||
sed -i 's/^#LIVECD_NO_ISSUE=1/LIVECD_NO_ISSUE=1/' /etc/sysconfig/livecd-user
[ ! -f /etc/sysconfig/livecd-user.conf ] ||
echo 'LIVECD_NO_ISSUE=1' >> /etc/sysconfig/livecd-user.conf
mkdir -p /etc/systemd/system/getty@.service.d
cat>>/etc/systemd/system/getty@.service.d/override.conf<<'EOF'
......
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