systemd-firstboot.service 755 B

123456789101112131415161718192021222324
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. [Unit]
  8. Description=First Boot Wizard
  9. Documentation=man:systemd-firstboot(1)
  10. DefaultDependencies=no
  11. Conflicts=shutdown.target
  12. After=systemd-remount-fs.service
  13. Before=systemd-sysusers.service sysinit.target shutdown.target
  14. ConditionPathIsReadWrite=/etc
  15. ConditionFirstBoot=yes
  16. [Service]
  17. Type=oneshot
  18. RemainAfterExit=yes
  19. ExecStart=/bin/systemd-firstboot --prompt-locale --prompt-timezone --prompt-root-password
  20. StandardOutput=tty
  21. StandardInput=tty
  22. StandardError=tty