File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
opt/init-wrapper/pre-init.d Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # fix for Synology
4+ mkdir -p /run/systemd/unit-root/bin
5+ mkdir -p /run/systemd/unit-root/lib/modules
6+ ls -al /run/systemd/unit-root >> /tmp/hassio.log
7+
8+ sed -i -e " s/ProtectSystem=true/ProtectSystem=false/" /lib/systemd/system/NetworkManager.service
9+ systemctl mask systemd-tmpfiles-setup systemd-tmpfiles-clean
Original file line number Diff line number Diff line change 4545wget --tries=3 -O /opt/os-agent.deb " https://github.com/home-assistant/os-agent/releases/download/1.6.0/os-agent_1.6.0_linux_$ARCH .deb"
4646wget --tries=3 -O /opt/hassio.deb " https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb"
4747wget --tries=3 -O /opt/hasscn.deb " https://github.com/hasscc/supervised-installer/releases/latest/download/homeassistant-supervised.deb"
48-
49-
50- # fix for Synology
51- sed -i -e " s/ProtectSystem=true/ProtectSystem=false/" /lib/systemd/system/NetworkManager.service
52- systemctl mask systemd-logind.service systemd-hostnamed.service systemd-resolved.service e2scrub_reap.service
You can’t perform that action at this time.
0 commit comments