File wondershaper-fix-conf-path.patch of Package wondershaper

diff -Nur wondershaper-1.4.1+git.20211015.orig/wondershaper wondershaper-1.4.1+git.20211015/wondershaper
--- wondershaper-1.4.1+git.20211015.orig/wondershaper	2021-10-15 19:58:00.000000000 +0200
+++ wondershaper-1.4.1+git.20211015/wondershaper	2022-03-12 08:20:27.116819755 +0100
@@ -23,7 +23,7 @@
 
 QUANTUM="6000";
 VERSION="1.4.1";
-CONF="/etc/systemd/wondershaper.conf";
+CONF="/etc/wondershaper/wondershaper.conf";
 CONFLEGACY="/etc/conf.d/wondershaper.conf";
 # shellcheck disable=SC2086
 eval export HIPRIODST=$HIPRIODST;
diff -Nur wondershaper-1.4.1+git.20211015.orig/wondershaper.service wondershaper-1.4.1+git.20211015/wondershaper.service
--- wondershaper-1.4.1+git.20211015.orig/wondershaper.service	2021-10-15 19:58:00.000000000 +0200
+++ wondershaper-1.4.1+git.20211015/wondershaper.service	2022-03-12 08:20:41.212861557 +0100
@@ -6,7 +6,7 @@
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-EnvironmentFile=/etc/systemd/wondershaper.conf
+EnvironmentFile=/etc/wondershaper/wondershaper.conf
 ExecStart=/usr/sbin/wondershaper -a $IFACE -d $DSPEED -u $USPEED
 ExecStop=/usr/sbin/wondershaper -c -a $IFACE
 
openSUSE Build Service is sponsored by
OSZAR »