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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user