From c118f7bca3bb76c19a38330786568fac3a833f80 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 13 Sep 2010 22:18:10 +0200 Subject: 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 cefa59b..63b07f0 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 -- cgit v1.2.3