From: Daniel Baumann Date: Mon, 13 Sep 2010 20:18:10 +0000 (+0200) Subject: Adding patch from Colin Watson to follow symlinks when checking... X-Git-Tag: debian/2.0.5-1~1 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=e930bdf56ecc2f23432740bd612f4dc5153219fd Adding patch from Colin Watson to follow symlinks when checking for dynamically linked files at reboot in initscript. --- 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