From 2a7c08fbc58e599b8bcd884deda606d221637046 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 13 Sep 2010 22:18:10 +0200 Subject: [PATCH] Adding patch from Colin Watson to follow symlinks when checking for dynamically linked files at reboot in initscript. --- debian/live-boot.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/live-boot.init b/debian/live-boot.init index c947e12..9d6bc69 100644 --- a/debian/live-boot.init +++ b/debian/live-boot.init @@ -49,7 +49,7 @@ cache_path() then if [ -x "${path}" ] then - if file "${path}" | grep -q 'dynamically linked' + if file -L "${path}" | grep -q 'dynamically linked' then for lib in $(ldd "${path}" | awk '{ print $3 }') do -- 2.1.4