eject.service: check for unexistance of /flash/rwroot to avoid ejecting CD if running from a flash device
This commit is contained in:
parent
a8f6657016
commit
067a7dd9fc
@ -3,6 +3,7 @@ Description=Eject the DVD
|
||||
Before=final.target
|
||||
After=shutdown.target
|
||||
DefaultDependencies=no
|
||||
ConditionPathExists=!/flash/rwroot
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Loading…
Reference in New Issue
Block a user