mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
smoketest fixes
This commit is contained in:
parent
62a8ef6d0b
commit
7936b5b23e
3 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
- name: Copy startup script
|
- name: Copy startup script
|
||||||
template: src=iiab-startup.sh
|
template: src=iiab-startup.sh
|
||||||
dest=/usr/libexec/
|
dest=/usr/libexec/
|
||||||
|
mode=0755
|
||||||
when: startup_unit.stat.exists is defined and not startup_unit.stat.exists
|
when: startup_unit.stat.exists is defined and not startup_unit.stat.exists
|
||||||
|
|
||||||
- name: Ask systemd to recognize the changes
|
- name: Ask systemd to recognize the changes
|
|
@ -4,7 +4,7 @@ After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/libecec/iiab-startup.sh
|
ExecStart=/usr/libexec/iiab-startup.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -4,4 +4,5 @@
|
||||||
if [ ! -f /etc/iiab/uuid ]; then
|
if [ ! -f /etc/iiab/uuid ]; then
|
||||||
uuidgen > /etc/iiab/uuid
|
uuidgen > /etc/iiab/uuid
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue