1From b49dbe17e0d9ae463e5a34e6991aa2d3c70d2fb1 Mon Sep 17 00:00:00 2001
2From: Claudius Heine <ch@denx.de>
3Date: Wed, 11 May 2022 14:33:13 +0200
4Subject: [PATCH] change sysconfig path to /etc/default
5
6OE uses /etc/default for service configuration, not /etc/sysconfig which
7is used by SUSE and RedHat based distributions.
8
9Change the files accordingly
10
11Upstream-Status: Inappropriate [OE specific]
12
13Signed-off-by: Claudius Heine <ch@denx.de>
14---
15 btrfsmaintenance-refresh.path    | 4 ++--
16 btrfsmaintenance-refresh.service | 2 +-
17 2 files changed, 3 insertions(+), 3 deletions(-)
18
19diff --git a/btrfsmaintenance-refresh.path b/btrfsmaintenance-refresh.path
20index d56ad11..f0b4132 100644
21--- a/btrfsmaintenance-refresh.path
22+++ b/btrfsmaintenance-refresh.path
23@@ -1,8 +1,8 @@
24 [Unit]
25-Description=Watch /etc/sysconfig/btrfsmaintenance
26+Description=Watch /etc/default/btrfsmaintenance
27
28 [Path]
29-PathChanged=/etc/sysconfig/btrfsmaintenance
30+PathChanged=/etc/default/btrfsmaintenance
31
32 [Install]
33 WantedBy=multi-user.target
34diff --git a/btrfsmaintenance-refresh.service b/btrfsmaintenance-refresh.service
35index 4ed1eb4..d6225a6 100644
36--- a/btrfsmaintenance-refresh.service
37+++ b/btrfsmaintenance-refresh.service
38@@ -1,5 +1,5 @@
39 [Unit]
40-Description=Update cron periods from /etc/sysconfig/btrfsmaintenance
41+Description=Update cron periods from /etc/default/btrfsmaintenance
42
43 [Service]
44 ExecStart=/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh systemd-timer
45--
462.33.3
47
48