From 067a7dd9fca7838367cebb244acba246036d206e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 3 Dec 2016 19:34:43 +0100 Subject: [PATCH] eject.service: check for unexistance of /flash/rwroot to avoid ejecting CD if running from a flash device --- VERSION | 2 +- tools/eject.service | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 6d1ae1c..a4de71c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION=3.0.2 +VERSION=3.90.0 diff --git a/tools/eject.service b/tools/eject.service index 17f90e0..e5c5d45 100644 --- a/tools/eject.service +++ b/tools/eject.service @@ -3,6 +3,7 @@ Description=Eject the DVD Before=final.target After=shutdown.target DefaultDependencies=no +ConditionPathExists=!/flash/rwroot [Service] Type=oneshot