2
Description=End-user configuration after initial OEM installation
3
ConditionFileIsExecutable=/usr/sbin/oem-config-firstboot
4
ConditionPathExists=/dev/tty1
6
# We never want to run the oem-config job in the live environment (as is the
7
# case in some custom configurations) or in recovery mode.
8
ConditionKernelCommandLine=!boot=casper
9
ConditionKernelCommandLine=!single
10
ConditionKernelCommandLine=!rescue
11
ConditionKernelCommandLine=!emergency
21
ExecStart=/bin/sh -ec '\
22
for x in $(cat /proc/cmdline); do \
24
debug-oem-config) debug=--debug ;; \
25
ubiquity/frontend=*) export frontend="${x#*=}" ;; \
26
automatic-oem-config) automatic=--automatic ;; \
29
exec oem-config-firstboot $debug $automatic'
32
WantedBy=oem-config.target