Wheezy: device removal before Greeter login does not trigger emergency shutdown
From the 1.1~beta1 test session:
When removing Tails USB during Greeter, the emergency shutdown is not triggered, I got a black screen
with "amnesia login:" while removing the same device when Tails is fully started effectively launch
the emergency shutdown
I tested on real hardware and got tons of SQUASHFS errors and no shutdown at all. I confirmed that
memlockd and the udev watchdog were running at the time.
Regression since 1.0.
Make sure /etc/default/locale exists, with a sensible default value (Closes: #7333).
Before Tails Greeter's PostLogin script our run, /etc/default/locale does not
exist on Wheezy. Our tails-kexec initscript (and quite a few other scripts we
run) depends on this file to exist. So, let's make sure it exists, with
a sensible default value.