Skip to content
Snippets Groups Projects
Commit 6a4e4dce authored by Jakko's avatar Jakko
Browse files

openrc|systemd: adapt install paths of scripts to /usr merge

The Makefile was previously changed to install the scripts according to
the /usr merge. As the service files point to the scripts, the paths
need to be adapted there as well.
parent 61663762
No related branches found
Tags 0.2.4
1 merge request!5openrc|systemd: adapt install paths of scripts to /usr merge
Pipeline #141285 passed
......@@ -13,7 +13,7 @@ depend()
start()
{
ebegin "Setting system time"
/sbin/swclock-offset-boot
/usr/bin/swclock-offset-boot
eend $?
}
......
......@@ -19,7 +19,7 @@ depend()
start()
{
ebegin "Saving swclock-offset"
/sbin/swclock-offset-shutdown
/usr/bin/swclock-offset-shutdown
eend $?
}
......
......@@ -6,7 +6,7 @@ Before=systemd-fsck-root.service systemd-fsck@.service
[Service]
Type=oneshot
TimeoutSec=0
ExecStart=/usr/sbin/swclock-offset-boot
ExecStart=/usr/bin/swclock-offset-boot
[Install]
WantedBy=sysinit.target
......
......@@ -6,7 +6,7 @@ Before=shutdown.target
[Service]
Type=oneshot
TimeoutSec=0
ExecStart=/usr/sbin/swclock-offset-shutdown
ExecStart=/usr/bin/swclock-offset-shutdown
[Install]
WantedBy=shutdown.target
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment