diff options
author | Martin Sivak <msivak@redhat.com> | 2012-12-19 15:43:22 +0100 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2012-12-19 15:43:22 +0100 |
commit | fec77ff6e27c77e0efe182b734e49ef6288cf258 (patch) | |
tree | 72ee23fb42d983c3bbe9c219c845e4193b520121 /systemd | |
parent | 6f81a6070930a6c91810e05f5746fc11e2c3c3f5 (diff) | |
download | firstboot2-fec77ff6e27c77e0efe182b734e49ef6288cf258.tar.gz firstboot2-fec77ff6e27c77e0efe182b734e49ef6288cf258.tar.xz firstboot2-fec77ff6e27c77e0efe182b734e49ef6288cf258.zip |
Use the updated API to get firstboot enabled spokes
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/inital-setup-graphical.service | 17 | ||||
-rw-r--r-- | systemd/inital-setup-text.service | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/systemd/inital-setup-graphical.service b/systemd/inital-setup-graphical.service new file mode 100644 index 0000000..e0548c8 --- /dev/null +++ b/systemd/inital-setup-graphical.service @@ -0,0 +1,17 @@ +[Unit] +Description=firstboot configuration program (graphical mode) +After=livesys.service plymouth-quit.service +Before=display-manager.service getty@tty1.service +Conflicts=plymouth-quit.service + +[Service] +Type=oneshot +ExecStartPre=-/bin/plymouth quit +ExecStart=/usr/sbin/firstboot +ExecStartPost=/bin/systemctl disable firstboot-graphical.service +TimeoutSec=0 +RemainAfterExit=yes +SysVStartPriority=99 + +[Install] +WantedBy=graphical.target diff --git a/systemd/inital-setup-text.service b/systemd/inital-setup-text.service new file mode 100644 index 0000000..e0548c8 --- /dev/null +++ b/systemd/inital-setup-text.service @@ -0,0 +1,17 @@ +[Unit] +Description=firstboot configuration program (graphical mode) +After=livesys.service plymouth-quit.service +Before=display-manager.service getty@tty1.service +Conflicts=plymouth-quit.service + +[Service] +Type=oneshot +ExecStartPre=-/bin/plymouth quit +ExecStart=/usr/sbin/firstboot +ExecStartPost=/bin/systemctl disable firstboot-graphical.service +TimeoutSec=0 +RemainAfterExit=yes +SysVStartPriority=99 + +[Install] +WantedBy=graphical.target |