From f1087eb55a835f2b4adaaccea7b092e19a3ba6e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 6 Apr 2012 10:38:00 +0200 Subject: Only looking at boot.d files if they have the .conf suffix to allow putting other files into these places that do not necessarily need to be used by live-boot (e.g. documentation). --- hooks/live | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hooks') diff --git a/hooks/live b/hooks/live index b023d4b..40802d0 100755 --- a/hooks/live +++ b/hooks/live @@ -32,9 +32,9 @@ then . /etc/live/boot.conf fi -if ls /etc/live/boot.d/* > /dev/null 2>&1 +if ls /etc/live/boot.d/*.conf > /dev/null 2>&1 then - for _FILE in /etc/live/boot.d/* + for _FILE in /etc/live/boot.d/*.conf do . ${_FILE} done -- cgit v1.2.3