Commit 67ccb11d authored by Tails developers's avatar Tails developers
Browse files

udev-watchdog-wrapper: suppress potentially confusing eject messages.

parent 2056854f
...@@ -79,7 +79,7 @@ DEV_TYPE="${DEV_TYPE_LINE#*=}" ...@@ -79,7 +79,7 @@ DEV_TYPE="${DEV_TYPE_LINE#*=}"
# event. See [[bugs/sdmem_on_eject_broken_for_CD]]. # event. See [[bugs/sdmem_on_eject_broken_for_CD]].
# FIXME: we might be able to do the more sane "-i off" with future kernel/udev # FIXME: we might be able to do the more sane "-i off" with future kernel/udev
if [ "$DEV_TYPE" = "cd" ]; then if [ "$DEV_TYPE" = "cd" ]; then
eject -i on "${BOOT_DEVICE}" eject -i on "${BOOT_DEVICE}" 2>&1 >/dev/null
fi fi
# Start udev-watchdog and stop on clean exit. # Start udev-watchdog and stop on clean exit.
......
Supports Markdown
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