Modify firstboot-setup.service dependencies and targets
Updated firstboot-setup.service to change dependencies and conditions.
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=First Boot Wizard
|
Description=First Boot Wizard
|
||||||
After=graphical-session.target cosmic-session.target
|
|
||||||
Wants=graphical-session.target cosmic-session.target
|
|
||||||
ConditionPathExists=%h/.config/cosmic-initial-setup-done
|
|
||||||
ConditionPathExists=%h/.config/firstboot/run
|
ConditionPathExists=%h/.config/firstboot/run
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@@ -10,5 +7,4 @@ Type=simple
|
|||||||
ExecStart=%h/.config/firstboot/firstboot-setup.sh
|
ExecStart=%h/.config/firstboot/firstboot-setup.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical-session.target
|
WantedBy=default.target
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user