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
|
Before=final.target
|
||||||
After=shutdown.target
|
After=shutdown.target
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
ConditionPathExists=!/flash/rwroot
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
Reference in New Issue
Block a user