summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-13 22:18:10 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:59:20 +0100
commit2a7c08fbc58e599b8bcd884deda606d221637046 (patch)
treefcd829cd5055dfa72b6427e8ea72dcf257553135
parentf4adc321a37ab2d885eca2355467215f9d43b96e (diff)
downloadlive-boot-2a7c08fbc58e599b8bcd884deda606d221637046.tar.gz
live-boot-2a7c08fbc58e599b8bcd884deda606d221637046.zip
Adding patch from Colin Watson <cjwatson@ubuntu.com> to follow symlinks when checking for dynamically linked files at reboot in initscript.
-rw-r--r--debian/live-boot.init2
1 files changed, 1 insertions, 1 deletions
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