From d36a1b0ed88053a11163d93848545254a90cccb3 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Sat, 21 Mar 2015 23:57:19 +0100 Subject: [PATCH] sed -i 's@/usr/sbin@/usr/local/sbin@g' patches/etc/systemd/system/*.service (Fixes #11) --- patches/etc/systemd/system/oc-add-extra-volumes.service | 4 ++-- patches/etc/systemd/system/oc-sync-kernel-modules.service | 2 +- patches/etc/systemd/system/systemd-reboot.service | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/etc/systemd/system/oc-add-extra-volumes.service b/patches/etc/systemd/system/oc-add-extra-volumes.service index c17de12..a2b842c 100644 --- a/patches/etc/systemd/system/oc-add-extra-volumes.service +++ b/patches/etc/systemd/system/oc-add-extra-volumes.service @@ -2,8 +2,8 @@ Description=OCS additional volumes mounter [Service] -ExecStart=/usr/sbin/oc-add-extra-volumes -ExecStop=/usr/sbin/oc-remove-extra-volumes +ExecStart=/usr/local/sbin/oc-add-extra-volumes +ExecStop=/usr/local/sbin/oc-remove-extra-volumes Type=forking [Install] diff --git a/patches/etc/systemd/system/oc-sync-kernel-modules.service b/patches/etc/systemd/system/oc-sync-kernel-modules.service index 9063ece..8cf5535 100644 --- a/patches/etc/systemd/system/oc-sync-kernel-modules.service +++ b/patches/etc/systemd/system/oc-sync-kernel-modules.service @@ -3,7 +3,7 @@ Description=OCS fetch kernel modules from OCS mirror After=NetworkManager-wait-online.service [Service] -ExecStart=/usr/sbin/oc-sync-kernel-modules +ExecStart=/usr/local/sbin/oc-sync-kernel-modules Type=oneshot [Install] diff --git a/patches/etc/systemd/system/systemd-reboot.service b/patches/etc/systemd/system/systemd-reboot.service index 5240993..e94dd5f 100644 --- a/patches/etc/systemd/system/systemd-reboot.service +++ b/patches/etc/systemd/system/systemd-reboot.service @@ -7,4 +7,4 @@ After=shutdown.target umount.target final.target [Service] Type=oneshot -ExecStart=/usr/sbin/oc-nbd-disconnect-root +ExecStart=/usr/local/sbin/oc-nbd-disconnect-root