1
0
mirror of synced 2026-01-28 20:31:03 +00:00

Fix karmic/lucid gettys

This was broken by a previous patch, the if statement looked for
a foler that doesn't exist on karmic, but did on prior release,
since ttys are no longer in /etc/event.d, but instead in /etc/init

/etc/event.d -> /etc/init
This commit is contained in:
Dmitry Nedospasov
2010-07-18 19:53:28 +02:00
parent 1aeb23823c
commit 3951ceb718

View File

@@ -28,7 +28,7 @@ logMessage Script $0 starting
# Remove the links for upstart
#
rm -f ${prefix}/etc/init/tty[!1].conf
[ -f ${prefix}/etc/event.d/tty1 ] && {
[ -f ${prefix}/etc/init/tty1.conf ] && {
sed -i -e s/tty1/hvc0/ ${prefix}/etc/init/tty1.conf
mv ${prefix}/etc/init/tty1.conf ${prefix}/etc/init/hvc0.conf
}