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


Groups > linux.debian.kernel > #60464 > unrolled thread

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

Started bybetra <Bernd.Trappe@thinprint.de>
First post2018-03-13 16:30 +0100
Last post2018-03-13 16:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel


Contents

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

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

Frombetra <Bernd.Trappe@thinprint.de>
Date2018-03-13 16:30 +0100
Subject[PATCH] custom hook functions from /etc/initramfs-tools/hook weren't executed
Message-ID<vsU2e-7Hn-5@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web