Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 658 Bytes
[Unit]
Description=inithooks: firstboot and everyboot initialization scripts
After=getty@tty8.service
ConditionKernelCommandLine=!noinithooks
ConditionPathExists=!/var/lib/turnkey-info/inithooks.service/xen
ConditionPathExists=!/var/lib/turnkey-info/inithooks.service/lxc
ConditionPathExists=!/var/lib/turnkey-info/inithooks.service/openstack
[Service]
Type=oneshot
StandardInput=tty-force
TTYPath=/dev/tty8
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
EnvironmentFile=/etc/default/inithooks
ExecStart=/bin/sh -c '\
FGCONSOLE=$(fgconsole); \
openvt -f -c 8 -s -w -- ${INITHOOKS_PATH}/run; \
chvt $FGCONSOLE'
[Install]
WantedBy=basic.target
You can’t perform that action at this time.