Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #60464

[PATCH] custom hook functions from /etc/initramfs-tools/hook weren't executed

From betra <Bernd.Trappe@thinprint.de>
Newsgroups linux.debian.kernel
Subject [PATCH] custom hook functions from /etc/initramfs-tools/hook weren't executed
Date 2018-03-13 16:30 +0100
Message-ID <vsU2e-7Hn-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: betra <Bernd.Trappe@thinprint.de>

diff --git a/hook-functions b/hook-functions
index 4b49391..714c6c1 100644
--- a/hook-functions
+++ b/hook-functions
@@ -643,6 +643,8 @@ get_source()
 		echo "${initdir}/$1"
 	elif [ -f "${CONFDIR}${scriptdir}/$1" ]; then
 		echo "${CONFDIR}${scriptdir}/$1"
+	elif [ -f "${CONFDIR}/hooks/$1" ]; then
+		echo "${CONFDIR}/hooks/$1"
 	else
 		echo "/usr/share/initramfs-tools${scriptdir}/$1"
 	fi
-- 
2.10.2.windows.1

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] custom hook functions from /etc/initramfs-tools/hook weren't executed betra <Bernd.Trappe@thinprint.de> - 2018-03-13 16:30 +0100

csiph-web