Update to OS Agent 1.0.0 (#1317)

* Update to OS Agent 1.0.0

* Use new D-Bus path/interface/object in haos-wipe.service
This commit is contained in:
Stefan Agner
2021-04-08 20:22:19 +02:00
committed by GitHub
parent c9d091c1b3
commit ae0aeb84f5
2 changed files with 5 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ ConditionKernelCommandLine=haos.wipe=1
[Service]
Type=oneshot
ExecStart=/usr/bin/busctl --verbose --timeout=1h call io.homeassistant.os /io/homeassistant/os/System io.homeassistant.os.System WipeDevice
ExecStart=/usr/bin/busctl --verbose --timeout=1h call io.hass.os /io/hass/os/System io.hass.os.System WipeDevice
ExecStartPost=/usr/bin/sed -i 's/\s*haos.wipe=1//g' /mnt/boot/cmdline.txt
[Install]