From 62a4b48679ebeb6e5ea83fe19f4a7eb90245e3f7 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 28 Feb 2025 11:50:43 +0100 Subject: [PATCH] patches/openresolv: drop unused patches Signed-off-by: Joachim Wiberg --- patches/openresolv/3.12.0/finit-support.patch | 12 ------------ .../openresolv/foo-3.12.0/finit-support.patch | 16 ---------------- 2 files changed, 28 deletions(-) delete mode 100644 patches/openresolv/3.12.0/finit-support.patch delete mode 100644 patches/openresolv/foo-3.12.0/finit-support.patch diff --git a/patches/openresolv/3.12.0/finit-support.patch b/patches/openresolv/3.12.0/finit-support.patch deleted file mode 100644 index 6b9be23e..00000000 --- a/patches/openresolv/3.12.0/finit-support.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru openresolv-3.12.0.orig/resolvconf.in openresolv-3.12.0/resolvconf.in ---- openresolv-3.12.0.orig/resolvconf.in 2020-12-27 19:05:10.000000000 +0100 -+++ openresolv-3.12.0/resolvconf.in 2023-03-27 00:19:03.365164029 +0200 -@@ -315,6 +315,8 @@ - then - /usr/bin/systemctl restart $1.service - fi' -+ elif [ -x /sbin/initctl ]; then -+ RESTARTCMD="/sbin/initctl -bnq restart \$1" - elif [ -x /sbin/rc-service ] && - { [ -s /libexec/rc/init.d/softlevel ] || - [ -s /run/openrc/softlevel ]; } diff --git a/patches/openresolv/foo-3.12.0/finit-support.patch b/patches/openresolv/foo-3.12.0/finit-support.patch deleted file mode 100644 index 1e1588df..00000000 --- a/patches/openresolv/foo-3.12.0/finit-support.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ru openresolv-3.12.0.orig/resolvconf.in openresolv-3.12.0/resolvconf.in ---- openresolv-3.12.0.orig/resolvconf.in 2020-12-27 19:05:10.000000000 +0100 -+++ openresolv-3.12.0/resolvconf.in 2023-03-27 00:19:03.365164029 +0200 -@@ -315,6 +315,12 @@ - then - /usr/bin/systemctl restart $1.service - fi' -+ elif [ -x /sbin/initctl ]; then -+ # Finit -+ RESTARTCMD=' -+ if /sbin/initctl -bq status $1; then -+ /sbin/initctl -bnq restart $1 -+ fi' - elif [ -x /sbin/rc-service ] && - { [ -s /libexec/rc/init.d/softlevel ] || - [ -s /run/openrc/softlevel ]; }