eject.service: check for unexistance of /flash/rwroot to avoid ejecting CD if running from a flash device

This commit is contained in:
Silvan Calarco 2016-12-03 19:34:43 +01:00
parent a8f6657016
commit 067a7dd9fc
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
VERSION=3.0.2 VERSION=3.90.0

View File

@ -3,6 +3,7 @@ Description=Eject the DVD
Before=final.target Before=final.target
After=shutdown.target After=shutdown.target
DefaultDependencies=no DefaultDependencies=no
ConditionPathExists=!/flash/rwroot
[Service] [Service]
Type=oneshot Type=oneshot