vm/spec: do not complain about missing serial.conf
This commit is contained in:
parent
ad75f3c99e
commit
31fd953377
@ -241,7 +241,7 @@ if [ "$1" != 1 ] ; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -f /var/lib/qubes/serial.orig ] ; then
|
if [ -e /etc/init/serial.conf ] && ! [ -f /var/lib/qubes/serial.orig ] ; then
|
||||||
cp /etc/init/serial.conf /var/lib/qubes/serial.orig
|
cp /etc/init/serial.conf /var/lib/qubes/serial.orig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user